- Видео 95
- Просмотров 23 094
Robot Maze
Добавлен 13 авг 2022
Hi👋! I'm a second year cs student from Portugal and I've created this channel because I love programming, and I want to build and grow a community where everyone can enjoy coding without judgement, no matter who you are or where you're from. So, with that said, this channel is for everyone who shares this passion and wants to help me with this project, or simply embark on this exciting adventure in the world of technology!
If you find my videos helpful in any way, please LIKE, SHARE and SUBSCRIBE to help support the channel. Thank you and, most importantly, have fun coding!
If you find my videos helpful in any way, please LIKE, SHARE and SUBSCRIBE to help support the channel. Thank you and, most importantly, have fun coding!
QUEUE Data Structure (Explanation and Code)
Hello everyone, in this video I explain the queue data structure and how to implement its functionalities in C++. Thank you for watching and have fun coding!
Instagram: robot_maze
*Timestamps:*
00:00 - What is a Queue?
00:52 - Queue implementation
03:52 - Creating a Queue
05:10 - isEmpty()
05:35 - enqueue()
06:35 - dequeue()
09:42 - front()
10:17 - displayQueue()
10:56 - Testing and Corrections
*Hashtags*
#programming
#c
#datastructures
#robotmaze
Instagram: robot_maze
*Timestamps:*
00:00 - What is a Queue?
00:52 - Queue implementation
03:52 - Creating a Queue
05:10 - isEmpty()
05:35 - enqueue()
06:35 - dequeue()
09:42 - front()
10:17 - displayQueue()
10:56 - Testing and Corrections
*Hashtags*
#programming
#c
#datastructures
#robotmaze
Просмотров: 8
Видео
BINARY SEARCH TREES - C++ Implementation
Просмотров 11114 дней назад
Hello everyone, in this video I explain how to implement the binary search tree data structure in C . I go over how to create the tree, insert, search and remove elements and how to find the maximum and minimum values. Thank you for watching and have fun coding! Instagram: robot_maze *Timestamps:* 00:00 - Create and Insert into BST 05:16 - In-order Traverse 06:41 - Search in BST ...
BINARY SEARCH TREES (explained simply)
Просмотров 3721 день назад
In this video I explain the binary search tree data structure in a simple way: I go over how to search, insert and remove elements from the binary search tree, different ways to traverse it and its time complexity. Thank you for watching and have fun coding! Instagram: robot_maze *Timestamps:* 00:00 - What is a Binary Search Tree 01:39 - Search in BST 02:11 - Insert in BST 02:49 ...
BINARY SEARCH (Explanation and Code)
Просмотров 43Месяц назад
Hello everyone, in this video I explain the binary search algorithm, its advantages against linear search, its time complexity and how to implement it in code. Thank you for watching and have fun coding! Instagram: robot_maze *Timestamps:* 00:00 - Linear Search 01:05 - Binary Search 02:55 - Binary Search time complexity 03:43 - Binary Search implementation *Hashtags* #programming...
HEAP SORT (Explanation and Code)
Просмотров 74Месяц назад
Hello everyone, in this video I explain the heap sort algorithm and the heap data structure in a simple manner. Thank you for watching and have fun coding! Instagram: robot_maze *Timestamps:* 00:00 - Heap data structure 00:46 - Heap Sort 02:48 - Time Complexity 03:27 - Heapify and build-heap code 04:03 - Heap Sort implementation *Hashtags* #programming #algorithms #heap #robotmaze
HEAP Data Structure - Everything You Need to Know
Просмотров 57Месяц назад
Hello everyone, in this video I explain what a heap is, how to create one and algorithms like heapify and build-heap. Thank you for watching and have fun coding! Instagram: robot_maze *Timestamps:* 00:00 - What is a heap? 01:04 - Build-heap and Heapify algorithms 03:54 - Children and parent (indexes) 04:41 - Time Complexity 05:28 - Heapify implementation 07:48 - Build-heap implem...
Build TIC TAC TOE in C++! (Beginner Project)
Просмотров 62Месяц назад
Hello everyone, in this video I build a complete tic-tac-toe game in C . Thank you for watching and have fun coding! Code: github.com/robot-mazeee/Tic-Tac-Toe Instagram: robot_maze *Timestamps:* 00:00 - Setup 01:37 - Printing the board 03:59 - Get user input 07:17 - Validate user input 11:50 - Check tie 14:33 - Check win *Hashtags* #programming #C
Introduction to HASH TABLES (Explanation and Code)
Просмотров 55Месяц назад
Hello everyone, in this video I explain hash tables, a very important and fast datastructure; i go over why to use it, how to implement it in code (C ) and a very important concept called external chaining. Thank you for watching and have fun coding! Instagram: robot_maze *Timestamps*: 00:00 - What is a hash table? 02:19 - Creating a hash table 02:54 - Hash function 05:46 - Inser...
Introduction to LINKED LISTS (Explanation and Code)
Просмотров 982 месяца назад
Hello everyone, in this video I explain linked lists; I approach what they are and why to use them, some the down/upsides over other datastructures and how to implement them in code. Thank you for watching and have fun coding! Instagram: robot_maze *Timestamps:*: 00:00 - What is a linked list? 03:28 - Creating a linked list 05:02 - Iterating through a linked list 06:13 - Creating...
Structs in C++
Просмотров 2032 месяца назад
Hello everyone, in this video I explain structs in C , what they are, how to use them and when to use them instead of classes. Thank you for watching and have fun coding! Instagram: robot_maze *Timestamps:* 00:00 - Why use a struct? 01:24 - Creating a struct 02:03 - Structs vs. Classes 03:13 - Difference between classes and structs 04:55 - Compare structs 06:38 - Struct array *Ha...
Learn QUICK SORT in 10 minutes! (Explanation and Code)
Просмотров 642 месяца назад
Hello everyone, in this video I explain the quick sort algorithm, how it works, its time and space complexity and how to implement it in code. Thank you for watching and have fun coding! Instagram: robot_maze *Timestamps:* 00:00 - Intro 00:34 - Quick Sort Explanation 04:27 - Time and Space Complexity 06:43 - Code Implementation *Hashtags* #programming #algorithms #quicksort #robo...
Learn MERGE SORT in 10 minutes! (Explanation and Code)
Просмотров 1122 месяца назад
Hello everyone, in this video I explain the merge sort algorithm; I go over how it works, its time complexity, when to use it and a code implementation. Thank you for watching and have fun coding! Instagram: robot_maze *Timestamps:* 00:00 - Merge Sort explanation 00:51 - Time complexity 01:57 - Code implementation *Hashtags* #programming #algorithms #mergesort #robotmaze
RECURSION Explained Simply!
Просмотров 742 месяца назад
Hello everyone, in this video I explain recursion simply and with code examples in 6 minutes. Thank you for watching and have fun coding! Instagram: robot_maze *Timestamps:* 00:00 - Recursion explanation 01:55 - Recursion example 03:11 - Call stack 04:50 - Code example *Hashtags* #programming #recursion #robotmaze #algorithms
Bubble Sort Algorithm (Explanation and Code)
Просмотров 732 месяца назад
Hello everyone, in this video I explain the bubble sort algorithm, its time complexity and how to implement it in C . Thank you for watching and have fun coding! Instagram: robot_maze *Timestamps:* 00:00 - Bubble sort explanation 01:56 - Time complexity 02:38 - Bubble sort implementation 04:56 - Bubble sort optimization *Hashtags* #programming #robotmaze #algorithms #bubblesort
Insertion Sort Algorithm (explanation and code)
Просмотров 525 месяцев назад
Hello everyone, in this video I explain the insertion sort algorithm, which allows us to sort a data structure like an array by inserting each element in the correct position. I also discuss topics like time complexity, stability and a C implementation of the algorithm. Thanks for watching and have fun coding! Instagram: robot_maze *Timestamps:* 00:00 - Algorithm explanation 02:2...
Selection Sort Algorithm (explanation and code)
Просмотров 1425 месяцев назад
Selection Sort Algorithm (explanation and code)
Build a Sorting Algorithm Visualization Project in Python!
Просмотров 1,1 тыс.7 месяцев назад
Build a Sorting Algorithm Visualization Project in Python!
TABLES in 3 minutes! - Learn HTML #3
Просмотров 1377 месяцев назад
TABLES in 3 minutes! - Learn HTML #3
Basic HTML elements - Learn HTML! #1
Просмотров 727 месяцев назад
Basic HTML elements - Learn HTML! #1
Build a Shortest Path Finder Project in Python - Breadth-First Search Algorithm
Просмотров 3297 месяцев назад
Build a Shortest Path Finder Project in Python - Breadth-First Search Algorithm
Build a Task Manager Project in Python #2 - Validate User Input and Add Descriptions
Просмотров 1,2 тыс.8 месяцев назад
Build a Task Manager Project in Python #2 - Validate User Input and Add Descriptions
Build a Task Manager Project in Python #1 - Basic Operations
Просмотров 3,8 тыс.8 месяцев назад
Build a Task Manager Project in Python #1 - Basic Operations
Display Text and End Game Screen - PYGAME Snake Game #7
Просмотров 2009 месяцев назад
Display Text and End Game Screen - PYGAME Snake Game #7
Random Collectable Generation - PYGAME Snake Game
Просмотров 9110 месяцев назад
Random Collectable Generation - PYGAME Snake Game
Thanks !
Damn, very good video!!
Thanks, I really appreciate it!
Truely impressed with the logics driven explanation. Keep it up
Thank you for the comment, I'm glad you found the video helpful!
I just wanted to let you know how much your videos have helped me thank you so much for making them
I really appreciate your comment and I'm really glad you found them helpful!
A first year student with such amazing explanation and so many projects done !! Thats insane !! Just checked out your channel. Subbed 🔥
Wow, thank you, that really motivated me. I appreciate it!
Thank you so much i found this video so useful !!! keep up the good work :)
Thank you for the comment, I really appreciate it and I'm glad it helped!
Gostei muito! Parabéns!
Obrigada pelo comentário!
}
Thanks for the video. Your explanation makes it very clear 👍👍
I'm glad you found it valuable, thanks!
Awesome! Helped a lot.
Thanks for the comment, I'm glad it helped!
Pep8 tells us that names of funcs or vars should be in lower case but not a CamelCase
Yes, there are many different conventions, and Python functions and vars are usually snake case.
Thank you so so so so so much, this is the only tutorial i've followed in which it actually works (i'm using Pyxel not Pygame and there are very few pygame tutorials). Thanks also for the concise explanation with the drawing, it helps a lot!
Thank you for the comment, I'm glad it helped!
I'm a self learner and I find this project really amazing! Thanks for sharing.
I'm glad you enjoyed it!
Let me just subscribe
Xdd thanks, I appreciate it!
thanks for tutorial i subscribed you!
I'm glad it helped and I really appreciate it, thanks!
Hey the jump works but it's not smooth. Can you give me a solution?
Hey, I'm sorry you're having trouble withyour jump. Some things you can do: try to change the frame rate of your game and see what fits best; make sure the jump height is divisible by the gravity; change the jump height and gravity values, as well as the rate by which y is decreasing (ex: 0.5 * vel, or some other value). Let me know if any of these help
its a good idea for that video cause many of begginer people have problem with jumps and gravity
I'm glad you found it helpful!
I love this project and it has been been useful for me, in my project. Thanks a lot.
I'm glad it helped!
may i ask, where did you learn HTML?? your explanation is sick
Thanks, I appreciate it! Mostly from youtube and by building projects, which is probably the most important part of learning anything
great vid bro
nice one, thanks
You're welcome, I'm glad you found it valuable!
Well presented :) Remember to use snake-case for function names. You could also consider using a class for all_tasks since you always pass it as the first argument, for example: class TaskList: def __init__(self, tasks): self.tasks = tasks def add_task(self): # self.tasks...
Yes, you're right, I always get the naming conventions mixed up... also I've been coding in js a lot haha (that does something to you) :D Using classes is a great idea, thank you for the suggestion!
do you have github repo?
I put a link in the description :)
Very well explained with the white board illustration. Very smooth jump. Love it.
Thank you for the comment, I'm glad it helped!
Thanks helped me out a lot!!
I'm glad it helped! :)
Better yet: Just write a print function and abstract that away.
Keep going !
Thank you for the comment, I appreciate it! Next episode coming soon :)
I'am a newbie in terms of programming, i usually used using namespace std; for naming like for cout and cin to make it more easier and clean.. However lots pro programmmers advice that do not use using namespace instead use specific std like the one you've shared But i really don't know where those using name space std exactly conflicts of, idk cause i've never encountered them.. can you give as exact example of using namespace std conflicts ? That would very appreciated ❤️
that may happen when somewhere in the includes files, there is also another method named cout or cin or ....
For example, I was doing a simple, homemade implementation of a mathematical vector in a header file, however, as you might know, there’s an object under the std namespace called vector (the resizable array). If I wanna use both the std vector and my vector I couldn’t just use “using namespace std;” because all instances of vector would be considered as vectors from the standard library (including my mathematical vectors). In the best of the cases (and fortunately the most likely), the compiler would just throw errors because it thinks I’m using my vectors wrong (because it thinks they are std::vector and not my vector type).
Thank you for the comments guys, these are great examples. Yes, it mostly happens when you include files or libraries or you might just accidentally create some variable or function that is already defined in the standard namespace and you weren't aware... Thank you for the question and I hope this helps! Anything else, don't hesitate to ask 👍
thx and good vid keep it up
Thank you! I'm glad it helped :)
I am following a lot of tutorials and videos, yours are really great, clear good explained no unessencial talking. Great job. Definitely underrated.
Thank you so much for the kind words, it means a lot! I'm glad you find the videos helpful :)
Great, nice explained, thanks a lot for the video ❤
Thank you for the comment and I'm glad it helped!
@@robotmaze Thank you for your effort, do you have any videos about testing classes??? I am struggling a bit with this topic.
I don't have any videos on that, and to be completely honest I've never explored that topic before. But I will investigate 👍@@TheDevilscrap
@@robotmaze it is kinda important, but I managed to get it done and I am trying to explore the topic. Nice talking to you
Great Video! Keep up the good work!
Thank you so much!
you don't have to use std::reverse, you can pass std::greater() (from <functional>) into std::sort, or you can provide your own custom lambda. Also, in newer versions of c++, there's an std::ranges:: version so you don't have to pass in iterators to the start and end. using namespace std; is also bad practice, and you generally shouldn't use C arrays, use std::array
example: std::array numbers { 1, 2, 3, 4, 5 }; std::ranges::sort(numbers, std::greater {}); for (int number : numbers) std::cout << number << ' ';
Thank you for the comment! I am aware of the function greater(), but is there any difference between sort(a, a+5, greater()) and sort(a, a+5, greater<int>())? And how does ranges work?
Nevermind the ranges part, I hadn't seen the example... and I'm also aware of the using namespace std bad practice! It's not so bad in this case since the code sample is small, there aren't a lot of variables and there aren't any "collisions" between libraries. But very important so I'm glad you pointed it out!
Cool Video, you seem very smart
Thank you!! :)
That was really helpful, we can use it with player input, can't we?
Thank you for the comment! I would say yes, but how do you mean?
well explained, subscribed if you don't mind me saying it, if you could use Jupyter notebook / Colab i would make you video nicer, thanks
For years I was trying to understand yield and this cleared my confusion. Thanks a lot.
Very clear to me, Thanks a lot. Excellent videos.
You're welcome! Thanks for the comment :)
To me, these are Python Gems
Wonderful explanation!
Thank you so much!
Great video! I love arrays!
Lol :) they're great right?
@@robotmaze no
hahahaha
@@robotmaze haha jk 🤣
😁
Very vital skil , better than print statement, Make video a on tqdm, log,subprocess together Like a file download manager app log making with progress in tqdm !👍
I'll definitely look into that! Thanks for the commment :)
Nice video. Thanks. I like to watch several videos to get better explanations and you explain things nice and clear.
Thank you! :)
At 06:31 I meant line terminator or command terminator, not line break 🙄
In line with best practices, I would caution against using "Students" (plural) as the class name, as it sounds like a class that would hold info on multiple students. Whereas the code you're writing is clearly the information of one student at a time.
Thank you for the comment, I didn't know that. Makes sense, I'll definitely keep that in mind in the future.
Nice and simple to understand. Thanks for the video!
Thank you!
Thanks man, this really helped, good tutorial!
You're welcome! I'm glad it helped :)
Nice video, I never thought about creating custom context managers before. Keep up the good work!
Thank you so much!
At 07:13 I meant: *the first image is going to be completely outside the game window*, not both images. 🥲