Тёмный
Gunnar Beck Nelson
Gunnar Beck Nelson
Gunnar Beck Nelson
Подписаться
Engineering - Academia - Athletics
Mission statement:
FOCUS - LEARN - GROW

Hello there! My name is Gunnar Beck Nelson (BS, MS, MRes) and incoming University of Oxford student (Enrolling Michaelmas 2024 MSc, DPhil). I focus on Computer Engineering/Science/Math/& Hard Science, motivational content.
Комментарии
@mod_cyber1015
@mod_cyber1015 8 дней назад
Bro keep it 1080p otherwise , it will take more storage for u
@Rip_pro252
@Rip_pro252 10 дней назад
Yessir
@Rip_pro252
@Rip_pro252 10 дней назад
Ur my inspiration, going to Oxford(my dream college), pushing me to get my goals, and staying fit,traveling. Ur my perfect life
@Lukasekt212
@Lukasekt212 11 дней назад
Very beautiful.
@Rip_pro252
@Rip_pro252 12 дней назад
Wow
@Rip_pro252
@Rip_pro252 13 дней назад
I’m really proud of u, my dream school😊😊🎉🎉🎉😅😅😅
@GChief117
@GChief117 13 дней назад
@@Rip_pro252 you can do it!!! ❤️‍🔥❤️‍🔥❤️‍🔥
@GChief117
@GChief117 13 дней назад
@@Rip_pro252 ru-vid.com/group/PLPERBdDHWLi1wWwh2RMgM23SlqZe777vv&si=jhAvVs1j59K8-Jm8
@Rip_pro252
@Rip_pro252 13 дней назад
Omg thx so much
@Rip_pro252
@Rip_pro252 13 дней назад
lol I’m a sixth grader with a dream
@Rip_pro252
@Rip_pro252 13 дней назад
And nice music BTW
@victorromeropena431
@victorromeropena431 14 дней назад
Ok you use poo. what c++ version are you using. If possible, Could you make a beginner tutorial✌
@GChief117
@GChief117 14 дней назад
Did you mean oop (object oriented programming) and yes way ahead of you on that, made multiple playlists, and expanded on data structures and algorithms first then moving over to the fundamentals of c++ Data structure and algorithms in c++ ru-vid.com/group/PLPERBdDHWLi1LIuLqNOUSp9RfWYcubF_2&si=W3PSDLx0gz4pBtS1 Fundamentals of C++ ru-vid.com/group/PLPERBdDHWLi2S6BFpoPX5gEjLieZDu1ua&si=qewuabvcqEnlvpxt
@GChief117
@GChief117 14 дней назад
Also since this is on Leetcode this version is C++14
@link2609
@link2609 16 дней назад
Your videos are very interesting and I hope you make more videos
@GChief117
@GChief117 16 дней назад
Thank you, already on the way!😎🔥please be sure to subscribe for further updates 🔥. Thank you!🔥
@latyo6651
@latyo6651 16 дней назад
Hi bro
@GChief117
@GChief117 16 дней назад
Hey👋
@user-vr8qp7tr7l
@user-vr8qp7tr7l 17 дней назад
Nice, but what's all that coming from the background ?
@GChief117
@GChief117 17 дней назад
Sorry about that was at an airport, will be in an isolated environment 😅
@GChief117
@GChief117 17 дней назад
The moment and times while Microsoft crashed 🙄🙄🙄🙄
@user-vr8qp7tr7l
@user-vr8qp7tr7l 13 дней назад
@@GChief117 keep going 👍👍
@GChief117
@GChief117 13 дней назад
@@user-vr8qp7tr7l Thank you for your support thus far!! ❤️‍🔥❤️‍🔥😎 Will do 😎❤️‍🔥❤️‍🔥and thank you especially for liking sharing the word 😎❤️‍🔥❤️‍🔥
@roboop9816
@roboop9816 17 дней назад
gg bro!
@grandmastergyorogyoro532
@grandmastergyorogyoro532 20 дней назад
Wonderful!! You sir are champ in more than one domain. All the best for your endeavours!! Looking forward to learn more from you!😊
@GChief117
@GChief117 20 дней назад
Thanks a ton!! 😊
@pratapanurag757
@pratapanurag757 25 дней назад
Very Lively and informative🙌 Btw I'm not really sure if it is the best time to ask but, I was wondering if I can help you create good thumbnails, As your Content is valuable!
@ranjuranaut4952
@ranjuranaut4952 25 дней назад
GG bro
@GChief117
@GChief117 25 дней назад
😎
@heyooeternal6006
@heyooeternal6006 26 дней назад
what compiler are you using?
@GChief117
@GChief117 26 дней назад
It’s all in Xcode
@shahidyasin_03
@shahidyasin_03 26 дней назад
which IDE you are using?
@GChief117
@GChief117 26 дней назад
@@shahidyasin_03 I’m using Xcode since I use QuickTime for screen recording
@RishabhAgarwal-k5q
@RishabhAgarwal-k5q 26 дней назад
Far more better than any paid course Easy and great explanation
@GChief117
@GChief117 26 дней назад
@@RishabhAgarwal-k5q Thank you 🙏😊☺️ good luck with this! Made more expansive playlists on such.
@tiara7624
@tiara7624 27 дней назад
I don’t understand why you used .count().
@tiara7624
@tiara7624 27 дней назад
I am confused because it says on Google .count() gives you the number of key/value pairs.
@GChief117
@GChief117 27 дней назад
@@tiara7624 So to clarify, im using .count() to count the number of times we see the compliment from a given array. The defintion I stated for the compliment = the number that adds up with the two numbers to get our sum (target) + the number we are currently while scanning the array (nuts[i]) While scanning the array, we need to find where the compliment is at which specific index, because we do not know where the compliments are located, and we know there are going to be multiple. Hence using count. Does this part make sense?
@GChief117
@GChief117 27 дней назад
If need to go further in depth Im also creating playlists for Data Sturcutres and Algorithms in C++ along with doing an Introduciton to C++, comments were suggesting to a fundamental basis between them: ru-vid.com/group/PLPERBdDHWLi1LIuLqNOUSp9RfWYcubF_2
@jeet9040
@jeet9040 2 дня назад
.count() gives you the number of elements matching the specific key. Also in c++ any number in an if statement besides 0 will evaluate to true.
@sandboxop
@sandboxop 27 дней назад
Thank you soo much bro please complete this series
@GChief117
@GChief117 27 дней назад
Will do!
@GChief117
@GChief117 27 дней назад
Youre welcome as well and have a playlist here: ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-H2WxOjs_S3Q.html
@grandmastergyorogyoro532
@grandmastergyorogyoro532 Месяц назад
This is good!! Its so enjoyable watchin the video... Slow and steady... Jazz music in background!! Feels like waltzing and learning C++ at the same time!! Unique!! And awesome!!!
@GChief117
@GChief117 Месяц назад
Thank you 😁, keeping things simple and engaging👍
@jonnyparkkinen1013
@jonnyparkkinen1013 Месяц назад
I love Beluga whales !
@0nk4rk98
@0nk4rk98 Месяц назад
Great work bro , you earned a subscriber , keep it up !
@GChief117
@GChief117 Месяц назад
@@0nk4rk98 Thank you for all the support 🙏 😊 you are awesome 🔥🔥🔥
@ranjuranaut4952
@ranjuranaut4952 Месяц назад
Nice
@GChief117
@GChief117 Месяц назад
Yep again, the full file is in the github link in the description for reference just as well. Good luck!
@user-fw3vs7tm1v
@user-fw3vs7tm1v Месяц назад
Which sorting algorithm is a must for a programmer to know?
@GChief117
@GChief117 Месяц назад
@@user-fw3vs7tm1v sure so there’s bubble, merge, insert, quick, heap, and shell sort to name a few
@user-fw3vs7tm1v
@user-fw3vs7tm1v Месяц назад
@@GChief117 I know you got videos on them in future we on trees rn then graphs right?
@GChief117
@GChief117 Месяц назад
@@user-fw3vs7tm1v yessir that is correct, did a 1.5 hr video on trees, making them into smaller bits for viewership preference, and moving over to graphs and binary search trees. These are the fundamental data structures. Different algorithms will be explored to understand the use cases of applying these data structures.
@GChief117
@GChief117 Месяц назад
@@user-fw3vs7tm1v for reference organizing all the videos in this playlist: ru-vid.com/group/PLPERBdDHWLi1LIuLqNOUSp9RfWYcubF_2&si=fpnmN_WUCPy3Bgbe
@user-fw3vs7tm1v
@user-fw3vs7tm1v Месяц назад
@@GChief117 it’s helpful for real. Learning never ends yk. Thanks for the playlist.
@grandmastergyorogyoro532
@grandmastergyorogyoro532 Месяц назад
1.5 hours of Trees!! You sir made my day! Thank you for this! Time to strap on and learn!!😊😊
@GChief117
@GChief117 Месяц назад
Yessir and condensing the information as well, all necessary code is in description for reference. Good Luck!
@Decoretum
@Decoretum Месяц назад
Hi! What IDE do you use?
@GChief117
@GChief117 Месяц назад
This one is Xcode
@GChief117
@GChief117 Месяц назад
You can do the same principles in Visutal Studio, or JetBrains, etc
@Decoretum
@Decoretum Месяц назад
@@GChief117 Yep! Thanks! I just liked the interface of xcode. Is there a way to make visual studio more optimized or look as smooth as your xcode setup?
@GChief117
@GChief117 Месяц назад
@@Decoretum Other than going to settings and changing the font color, no. The closet thing you can do is either JetBrains IDE, CLion, or use a text editor in Sublime
@GChief117
@GChief117 Месяц назад
@@Decoretum In general, be sure to have your necessary header and main file as well. Your code will comiple in the main file.
@grandmastergyorogyoro532
@grandmastergyorogyoro532 Месяц назад
All right 4 videos a day!! We are on the roll!! Time to learn!😊
@GChief117
@GChief117 Месяц назад
Queue: #include <iostream> using namespace std; class Queue { int front, rear, size; static const int maxSize = 3; int arr[maxSize]; public: Queue() : front(0), rear(maxSize - 1), size(0) {} bool enqueue(int x) { if (size >= maxSize) { cout << "Queue Overflow" << endl; return false; } else { rear = (rear + 1) % maxSize; arr[rear] = x; size++; return true; } } int dequeue() { if (size <= 0) { cout << "Queue Underflow" << endl; return 0; } else { int x = arr[front]; front = (front + 1) % maxSize; size--; return x; } } int frontElement() { if (size <= 0) { cout << "Queue is Empty" << endl; return 0; } else { return arr[front]; } } bool isEmpty() { return (size == 0); } // Display all elements void display() { if (isEmpty()) { cout << "Queue is Empty" << endl; } for (int i = front; i <= rear; ++i) { cout << arr[i] << " "; } } }; int main() { Queue queue; queue.enqueue(10); queue.enqueue(20); queue.enqueue(30); queue.display(); cout << queue.dequeue() << " dequeued from queue "; // Output: 10 dequeued from queue cout << "Front element is : " << queue.frontElement() << endl; // Output: 20 cout << "Elements present in queue : "; queue.display(); return 0; } Queue Linked list: #include <iostream> using namespace std; class Queue { struct QueueNode { int data; QueueNode* next; }; QueueNode* front; QueueNode* rear; public: Queue() : front(nullptr), rear(nullptr) {} // Push (Enqueue) void enqueue(int x) { QueueNode* newNode = new QueueNode(); if (!newNode) { cout << "Heap Overflow" << endl; return; } newNode->data = x; newNode->next = nullptr; if (rear) { rear->next = newNode; } rear = newNode; if (!front) { front = rear; } } // Pop (Dequeue) int dequeue() { if (!front) { cout << "Queue Underflow" << endl; return -1; } QueueNode* temp = front; front = front->next; if (!front) { rear = nullptr; } int dequeued = temp->data; delete temp; return dequeued; } // Peek int peek() { if (!front) { cout << "Queue is Empty" << endl; return -1; } return front->data; } // Check if the queue is empty bool isEmpty() { return front == nullptr; } void display() { if (isEmpty()) { cout << "Queue is Empty" << endl; return; } QueueNode* temp = front; while (temp != nullptr) { cout << temp->data << " "; temp = temp->next; } cout << endl; } }; int main() { Queue queue; queue.enqueue(10); queue.enqueue(20); queue.enqueue(30); queue.display(); cout << "Popped from the queue: " << queue.dequeue() << endl; // Should print: Popped from the queue: 10 cout << queue.peek() << " is our front element." << endl; // Should print: 20 is our front element. cout << "Elements present in the queue: "; queue.display(); // Should print: Elements present in the queue: 20 30 cout << "Program ended with exit code: 0" << endl; return 0; }
@GChief117
@GChief117 Месяц назад
//stack array format Stacks: //#include our libraries #include <iostream> using namespace std; class Stack { int top; const static int maxSize = 3; int arr[maxSize]; public: Stack() : top(-1) {} // Push bool push(int x) { if (top >= (maxSize - 1)) { cout << "Stack overflow" << endl; return false; } else { arr[++top] = x; // Corrected increment order return true; } } // Pop int pop() { if (top < 0) { cout << "Stack Underflow" << endl; return 0; } else { int x = arr[top--]; // Corrected decrement order return x; } } // Peek int peek() { if (top < 0) { cout << "Stack is Empty" << endl; return 0; } else { return arr[top]; // Corrected to use top } } // Check to see if the stack is empty bool isEmpty() { return (top < 0); } }; int main() { Stack stack; stack.push(10); stack.push(20); stack.push(30); cout << "Popped from the stack: " << stack.pop() << " "; // Peek at the updated stack after popping cout << stack.peek() << " is our top element." << endl; cout << "Elements present in the stack: "; while (!stack.isEmpty()) { cout << stack.peek() << " "; stack.pop(); } return 0; }
@GChief117
@GChief117 Месяц назад
//#include our libraries--Linked List Stack #include <iostream> using namespace std; class Stack { struct StackNode { int data; StackNode* next; }; StackNode* top; public: Stack() : top(nullptr) {} void push(int x) { StackNode* newNode = new StackNode(); if (!newNode) { cout << "Heap Overflow" << endl; return; } newNode->data = x; newNode->next = top; top = newNode; } int pop() { if (!top) { cout << "Stack Underflow" << endl; return -1; } StackNode* temp = top; top = top->next; int popped = temp->data; delete temp; return popped; } int peek() { if (!top) { cout << "Stack is Empty" << endl; return -1; } return top->data; } bool isEmpty() { return top == nullptr; } void display() { if (isEmpty()) { cout << "Stack is Empty" << endl; return; } StackNode* temp = top; while (temp != nullptr) { cout << temp->data << " "; temp = temp->next; } cout << endl; } }; int main() { Stack stack; stack.push(10); stack.push(20); stack.push(30); cout << "Popped from the stack: " << stack.pop() << endl; // Should print: Popped from the stack: 30 cout << stack.peek() << " is our top element." << endl; // Should print: 20 is our top element. cout << "Elements present in the stack: "; stack.display(); // Should print: Elements present in the stack: 20 10 cout << "Program ended with exit code: 0" << endl; return 0; }
@GChief117
@GChief117 Месяц назад
#include <iostream> using namespace std; class Queue { int front, rear, size; static const int maxSize = 3; int arr[maxSize]; public: Queue() : front(0), rear(maxSize - 1), size(0) {} bool enqueue(int x) { if (size >= maxSize) { cout << "Queue Overflow" << endl; return false; } else { rear = (rear + 1) % maxSize; arr[rear] = x; size++; return true; } } int dequeue() { if (size <= 0) { cout << "Queue Underflow" << endl; return 0; } else { int x = arr[front]; front = (front + 1) % maxSize; size--; return x; } } int frontElement() { if (size <= 0) { cout << "Queue is Empty" << endl; return 0; } else { return arr[front]; } } bool isEmpty() { return (size == 0); } // Display all elements void display() { if (isEmpty()) { cout << "Queue is Empty" << endl; } for (int i = front; i <= rear; ++i) { cout << arr[i] << " "; } } }; int main() { Queue queue; queue.enqueue(10); queue.enqueue(20); queue.enqueue(30); queue.display(); cout << queue.dequeue() << " dequeued from queue "; // Output: 10 dequeued from queue cout << "Front element is : " << queue.frontElement() << endl; // Output: 20 cout << "Elements present in queue : "; queue.display(); return 0; }
@SussyBakaIsHappy
@SussyBakaIsHappy Месяц назад
The cat said thanks on 2nd image when he got adopted
@lexodPE
@lexodPE Месяц назад
Your dad is the starman waiting for big kitties
@EggNuce
@EggNuce Месяц назад
You adopted the cat???🤨.No you were adopted by the cat
@GChief117
@GChief117 Месяц назад
Yeppers you are right
@maverickmagic6132
@maverickmagic6132 Месяц назад
Poor thing must have gotten into a fight. Thank you for helping him out. He'll never forget your act of kindness
@GChief117
@GChief117 Месяц назад
Thank you, she loves my Dad especially and is called Missy❤
@H4STEGG
@H4STEGG Месяц назад
Thank you
@dench6639
@dench6639 Месяц назад
Ля какая тумба
@Angry-Birb
@Angry-Birb Месяц назад
Dark turn, it was actually filled with laxative
@SuperHeroStoriesUnlimited
@SuperHeroStoriesUnlimited Месяц назад
I dont think that was a stray cat
@GChief117
@GChief117 Месяц назад
We found her during Christmas with an injured leg, she was coming to us, and adopted us
@SuperHeroStoriesUnlimited
@SuperHeroStoriesUnlimited Месяц назад
@@GChief117 okay
@Rutik9999
@Rutik9999 Месяц назад
New videos, Lets go!!!!
@grandmastergyorogyoro532
@grandmastergyorogyoro532 Месяц назад
Pls consider teaching C++ from scratch. I am following your Blind 75 series, and find your approach very useful, like how you break down the question into sub problems, and first you start by writing comments about how to solve the problem, and then finally writing the code. This is first time I am seeing this approach out of all C++ tutorial. Unique approach and leads to good solution. Thank you sir, for what you do. Its a wonderful opportunity for me to learn from you about blind 75 questions. Thank you.
@GChief117
@GChief117 Месяц назад
Way ahead of you, had this as a placeholder for a couple of months, on the way 😎: ru-vid.com/group/PLPERBdDHWLi2S6BFpoPX5gEjLieZDu1ua&si=yB8SSdVo6hnthsU_
@GChief117
@GChief117 Месяц назад
As the great neurosurgeon Joseph Davids PhD of Imperial College London said, “Focus and push on the fundamentals”😎😎
@grandmastergyorogyoro532
@grandmastergyorogyoro532 Месяц назад
@@GChief117 Great quote by Dr Joseph Devids! Will add that to my list. Thank you for the playlist! I wish you a million subscribers! For the valuable wealth of knowledge you have shared with the world!
@Rutik9999
@Rutik9999 Месяц назад
Thank you so much! There are very few ppl teaching in C++, glad to find these videos. Can you do neetcode 150 series next! And also please stay consistent with uploads of dsa, I am coming here regularly now!
@GChief117
@GChief117 Месяц назад
Thanks brodie, will keep that in mind😎🔥be sure to subscribe then for further updates. Thank you.
@GChief117
@GChief117 Месяц назад
Also, just in case, did the blind 75 in C++ if need be: ru-vid.com/group/PLPERBdDHWLi1x0ZxbnCd5t8yxEudSrxxH
@grandmastergyorogyoro532
@grandmastergyorogyoro532 Месяц назад
Wonderful!! Thank you for this info😊
@GChief117
@GChief117 Месяц назад
You are so welcome!
@chomucooking3
@chomucooking3 Месяц назад
I need a bit of help if you can
@GChief117
@GChief117 Месяц назад
Sure what’s up?
@chomucooking3
@chomucooking3 Месяц назад
@@GChief117 TBH Im Having a really hartime understanding and learning dsa ,its like if i start a topic then i thinks thats pending this is and noting is ever getting completed , now im starting to feel that even after the cs degree i wont ever get a job ..
@GChief117
@GChief117 Месяц назад
@@chomucooking3 Hey man I know it can be very discouraging at first when it comes to DSA, and present universities just pump out courses from top down of administration, and are just filled with beaucrats. Plus tech is totally different now in this decade than the previous, since interest rates are at a rough 5% compared to post 2008 recession where they were next to 1-0%, and majority of companies in the bay are backed by debt just to list companies on the next stock exchange. Post COVID tech is a different landscape. I have a placeholder playlist for DSA and recommend the book listed here: Links: Easy Learning Data Structures & Algorithms C: Graphic Data Structures & Algorithms a.co/d/2fcvvzx Algorithm Design a.co/d/37DdgA6 Widely popular for competitive programming C++ How to Program a.co/d/4bfmUB7 Discrete Mathematics with Ducks (Textbooks in Mathematics) a.co/d/dsdZtj4 Combinatorics: Introductory Discrete Mathematics (Dover Books on Computer Science) a.co/d/hSUy62u Linear algebra: Handbook of Linear Algebra (Discrete Mathematics and Its Applications) a.co/d/0wr6aGv Codechef: www.codechef.com/ Structure for learning DSA: Arrays Linked list Stack Queue Hash Table Tree Graph Binary Search Tree This should be a good backbone and it’s imperative to go in order for this because it is compounded ontop of one another.
@chomucooking3
@chomucooking3 Месяц назад
@@GChief117 Thankyou Sooooooooo Much This Means A Lot Mannn..
@GChief117
@GChief117 27 дней назад
@@chomucooking3 also for an update I’ve been making a whole DSA playlist btw just in case: C++ Made Simple: Data Structures & Algorithms ru-vid.com/group/PLPERBdDHWLi1LIuLqNOUSp9RfWYcubF_2 Good luck!