Robot Maze
Robot Maze
  • Видео 95
  • Просмотров 23 094
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
Просмотров: 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!
How to JUMP in PYGAME!
Просмотров 2457 месяцев назад
How to JUMP in PYGAME!
'this' keyword in C++ classes
Просмотров 577 месяцев назад
'this' keyword in C classes
Constructors in C++ classes
Просмотров 577 месяцев назад
Constructors in C classes
TABLES in 3 minutes! - Learn HTML #3
Просмотров 1377 месяцев назад
TABLES in 3 minutes! - Learn HTML #3
Classes in C++
Просмотров 3137 месяцев назад
Classes in C
Become a Pro in HTML forms
Просмотров 2187 месяцев назад
Become a Pro in HTML forms
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
Collisions - PYGAME Snake Game #6
Просмотров 14610 месяцев назад
Collisions - PYGAME Snake Game #6
Random Collectable Generation - PYGAME Snake Game
Просмотров 9110 месяцев назад
Random Collectable Generation - PYGAME Snake Game

Комментарии

  • @wise_old_tree
    @wise_old_tree 2 часа назад

    Thanks !

  • @FlavioZanoni
    @FlavioZanoni 8 дней назад

    Damn, very good video!!

    • @robotmaze
      @robotmaze 8 дней назад

      Thanks, I really appreciate it!

  • @mahendraprabhu6801
    @mahendraprabhu6801 19 дней назад

    Truely impressed with the logics driven explanation. Keep it up

    • @robotmaze
      @robotmaze 18 дней назад

      Thank you for the comment, I'm glad you found the video helpful!

  • @packagec
    @packagec Месяц назад

    I just wanted to let you know how much your videos have helped me thank you so much for making them

    • @robotmaze
      @robotmaze Месяц назад

      I really appreciate your comment and I'm really glad you found them helpful!

  • @acridpie4492
    @acridpie4492 2 месяца назад

    A first year student with such amazing explanation and so many projects done !! Thats insane !! Just checked out your channel. Subbed 🔥

    • @robotmaze
      @robotmaze 2 месяца назад

      Wow, thank you, that really motivated me. I appreciate it!

  • @noorinchowdhury626
    @noorinchowdhury626 2 месяца назад

    Thank you so much i found this video so useful !!! keep up the good work :)

    • @robotmaze
      @robotmaze 2 месяца назад

      Thank you for the comment, I really appreciate it and I'm glad it helped!

  • @LuanaMartinsDiz
    @LuanaMartinsDiz 2 месяца назад

    Gostei muito! Parabéns!

    • @robotmaze
      @robotmaze 2 месяца назад

      Obrigada pelo comentário!

  • @radhanegi7586
    @radhanegi7586 3 месяца назад

    }

  • @shinstorm3473
    @shinstorm3473 4 месяца назад

    Thanks for the video. Your explanation makes it very clear 👍👍

    • @robotmaze
      @robotmaze 4 месяца назад

      I'm glad you found it valuable, thanks!

  • @ishankchauhan2734
    @ishankchauhan2734 4 месяца назад

    Awesome! Helped a lot.

    • @robotmaze
      @robotmaze 4 месяца назад

      Thanks for the comment, I'm glad it helped!

  • @shustriy1980
    @shustriy1980 4 месяца назад

    Pep8 tells us that names of funcs or vars should be in lower case but not a CamelCase

    • @robotmaze
      @robotmaze 4 месяца назад

      Yes, there are many different conventions, and Python functions and vars are usually snake case.

  • @3arezu
    @3arezu 5 месяцев назад

    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!

    • @robotmaze
      @robotmaze 5 месяцев назад

      Thank you for the comment, I'm glad it helped!

  • @meocon1611
    @meocon1611 5 месяцев назад

    I'm a self learner and I find this project really amazing! Thanks for sharing.

    • @robotmaze
      @robotmaze 5 месяцев назад

      I'm glad you enjoyed it!

  • @thehady1
    @thehady1 5 месяцев назад

    Let me just subscribe

    • @robotmaze
      @robotmaze 5 месяцев назад

      Xdd thanks, I appreciate it!

  • @gizlischone2289
    @gizlischone2289 5 месяцев назад

    thanks for tutorial i subscribed you!

    • @robotmaze
      @robotmaze 5 месяцев назад

      I'm glad it helped and I really appreciate it, thanks!

  • @jordanbasnet
    @jordanbasnet 5 месяцев назад

    Hey the jump works but it's not smooth. Can you give me a solution?

    • @robotmaze
      @robotmaze 5 месяцев назад

      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

  • @ckgunk
    @ckgunk 5 месяцев назад

    its a good idea for that video cause many of begginer people have problem with jumps and gravity

    • @robotmaze
      @robotmaze 5 месяцев назад

      I'm glad you found it helpful!

  • @thankgodwilliams5039
    @thankgodwilliams5039 7 месяцев назад

    I love this project and it has been been useful for me, in my project. Thanks a lot.

    • @robotmaze
      @robotmaze 7 месяцев назад

      I'm glad it helped!

  • @Joao-hl8bf
    @Joao-hl8bf 7 месяцев назад

    may i ask, where did you learn HTML?? your explanation is sick

    • @robotmaze
      @robotmaze 7 месяцев назад

      Thanks, I appreciate it! Mostly from youtube and by building projects, which is probably the most important part of learning anything

  • @Joao-hl8bf
    @Joao-hl8bf 7 месяцев назад

    great vid bro

  • @StefanoVerugi
    @StefanoVerugi 7 месяцев назад

    nice one, thanks

    • @robotmaze
      @robotmaze 7 месяцев назад

      You're welcome, I'm glad you found it valuable!

  • @jvium
    @jvium 8 месяцев назад

    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...

    • @robotmaze
      @robotmaze 8 месяцев назад

      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!

  • @sn1pr1
    @sn1pr1 8 месяцев назад

    do you have github repo?

    • @robotmaze
      @robotmaze 8 месяцев назад

      I put a link in the description :)

  • @the_foliot
    @the_foliot 9 месяцев назад

    Very well explained with the white board illustration. Very smooth jump. Love it.

    • @robotmaze
      @robotmaze 8 месяцев назад

      Thank you for the comment, I'm glad it helped!

  • @Odiedo123
    @Odiedo123 9 месяцев назад

    Thanks helped me out a lot!!

    • @robotmaze
      @robotmaze 8 месяцев назад

      I'm glad it helped! :)

  • @Finkelfunk
    @Finkelfunk 9 месяцев назад

    Better yet: Just write a print function and abstract that away.

  • @lnx7447
    @lnx7447 10 месяцев назад

    Keep going !

    • @robotmaze
      @robotmaze 10 месяцев назад

      Thank you for the comment, I appreciate it! Next episode coming soon :)

  • @jonathanvioleta3578
    @jonathanvioleta3578 11 месяцев назад

    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 ❤️

    • @oziousmegasus9201
      @oziousmegasus9201 11 месяцев назад

      that may happen when somewhere in the includes files, there is also another method named cout or cin or ....

    • @Ich_liebe_brezeln
      @Ich_liebe_brezeln 11 месяцев назад

      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).

    • @robotmaze
      @robotmaze 11 месяцев назад

      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 👍

  • @swiftmaster6826
    @swiftmaster6826 11 месяцев назад

    thx and good vid keep it up

    • @robotmaze
      @robotmaze 11 месяцев назад

      Thank you! I'm glad it helped :)

  • @TheDevilscrap
    @TheDevilscrap Год назад

    I am following a lot of tutorials and videos, yours are really great, clear good explained no unessencial talking. Great job. Definitely underrated.

    • @robotmaze
      @robotmaze Год назад

      Thank you so much for the kind words, it means a lot! I'm glad you find the videos helpful :)

  • @TheDevilscrap
    @TheDevilscrap Год назад

    Great, nice explained, thanks a lot for the video ❤

    • @robotmaze
      @robotmaze Год назад

      Thank you for the comment and I'm glad it helped!

    • @TheDevilscrap
      @TheDevilscrap Год назад

      @@robotmaze Thank you for your effort, do you have any videos about testing classes??? I am struggling a bit with this topic.

    • @robotmaze
      @robotmaze Год назад

      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

    • @TheDevilscrap
      @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

  • @technobladed1
    @technobladed1 Год назад

    Great Video! Keep up the good work!

  • @levkr_
    @levkr_ Год назад

    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

    • @levkr_
      @levkr_ Год назад

      example: std::array numbers { 1, 2, 3, 4, 5 }; std::ranges::sort(numbers, std::greater {}); for (int number : numbers) std::cout << number << ' ';

    • @robotmaze
      @robotmaze Год назад

      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?

    • @robotmaze
      @robotmaze Год назад

      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!

  • @skullescapist1710
    @skullescapist1710 Год назад

    Cool Video, you seem very smart

  • @iceweasel1747
    @iceweasel1747 Год назад

    That was really helpful, we can use it with player input, can't we?

    • @robotmaze
      @robotmaze Год назад

      Thank you for the comment! I would say yes, but how do you mean?

  • @StefanoVerugi
    @StefanoVerugi Год назад

    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

  • @atiqulny
    @atiqulny Год назад

    For years I was trying to understand yield and this cleared my confusion. Thanks a lot.

  • @atiqulny
    @atiqulny Год назад

    Very clear to me, Thanks a lot. Excellent videos.

    • @robotmaze
      @robotmaze Год назад

      You're welcome! Thanks for the comment :)

  • @atiqulny
    @atiqulny Год назад

    To me, these are Python Gems

  • @luisvolkyazul
    @luisvolkyazul Год назад

    Wonderful explanation!

  • @mrsquorld
    @mrsquorld Год назад

    Great video! I love arrays!

  • @SP-db6sh
    @SP-db6sh Год назад

    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 !👍

    • @robotmaze
      @robotmaze Год назад

      I'll definitely look into that! Thanks for the commment :)

  • @InattentiveADHB
    @InattentiveADHB Год назад

    Nice video. Thanks. I like to watch several videos to get better explanations and you explain things nice and clear.

  • @robotmaze
    @robotmaze Год назад

    At 06:31 I meant line terminator or command terminator, not line break 🙄

  • @Yakushii
    @Yakushii Год назад

    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.

    • @robotmaze
      @robotmaze Год назад

      Thank you for the comment, I didn't know that. Makes sense, I'll definitely keep that in mind in the future.

  • @Exius-Zero
    @Exius-Zero Год назад

    Nice and simple to understand. Thanks for the video!

  • @koenwevers
    @koenwevers Год назад

    Thanks man, this really helped, good tutorial!

    • @robotmaze
      @robotmaze Год назад

      You're welcome! I'm glad it helped :)

  • @basileagle314
    @basileagle314 2 года назад

    Nice video, I never thought about creating custom context managers before. Keep up the good work!

    • @robotmaze
      @robotmaze 2 года назад

      Thank you so much!

  • @robotmaze
    @robotmaze 2 года назад

    At 07:13 I meant: *the first image is going to be completely outside the game window*, not both images. 🥲