KZbin really should recommend this channel to more young ppl.
@joeljose1824 жыл бұрын
Thats not their policy yet
@redlightg273 жыл бұрын
@Foodie Moody Liar. All you have are food videos. What's wrong with you?
@benjamintombendickwilliams13693 жыл бұрын
Could not agree more. YK is a real teacher talent! Recommended!
@Nickname7323 жыл бұрын
I'm 13 and I watch it
@trebestorkoleckando76093 жыл бұрын
@@Nickname732 and
@MinecraftJesusGaming4 жыл бұрын
This man is a legend. I took Data Structures over the summer and forgot everything. This man helps me remember stuff
@abdullahbukhari14694 жыл бұрын
Love you brother, the best ex-Google/Facebook employee on KZbin
@nick_jacob2 жыл бұрын
Very easy to understand. Would like to see some coding examples too but this is nice. I have been a developer for 6 years and i'm just now getting into data structures. However i'm realizing that i've basically been using them all along without knowing it.
@elijohn8114 Жыл бұрын
i use this channel and codebeauty. this one gives me an awsome overview whille codebeauty explains it with coding she uses c++
@GauthamMohanraj4 жыл бұрын
I have loved the quarantine life learning programming 24*7
@virathshuklla1724 жыл бұрын
I was waiting for this video for a lot of time. This channel is best for Python I highly recommend it to my friends. Great Y.K.
@lancepaulino13033 жыл бұрын
Imagine if your professor teaches like this and add up those simple analogies so their students will have an easier approach to grasp the lesson at hand..... anyways, thank you so much for your precious videos!
@BATMAN10N3 жыл бұрын
Phew....I finally understood the gibberish my class was teaching
@sirxavior15832 жыл бұрын
Great video..you got it right a Deque is actually called a "Deck" or Double Ended Queue so many people get it wrong an call it a "De Que" then get it confused with Enque/Deque.
@leonardourbanavicius4 жыл бұрын
I did a twitter bot with your video and stayed very happy!!! Hope this bot I made can help people to be happier, it spreads positive messages! thanks again!
@CSDojo4 жыл бұрын
That sounds great! Thank you for letting me know :)
@lordmoriartea77993 жыл бұрын
can u share what vedios did u use
@刘生-o9b3 жыл бұрын
感谢你的分享,让我学习了很多知识,谢谢。
@ErenYeager-lu5cu3 жыл бұрын
understood nothing, but liking it anyway
@eyalpery84703 жыл бұрын
"This is how pancakes in the real world work" Legendary!
@GhostVaibhav4 жыл бұрын
Bro, you just nailed the explanation part!!! Keep up the good work!!❤️❤️
@unitydeveloperkgk98362 жыл бұрын
These videos are great and the visuals help a lot. The black background in your videos seems to improve memory recall for some reason as opposed to a white background. Its easier to visualize what I saw from your videos, than others because of this and it does not burn your retinas out while watching them either lol.
@Shortstories__1004 жыл бұрын
I have watched almost all of your videos they are very helpful. Can you start a series on JavaScript . Love your videos bro
@CSDojo4 жыл бұрын
Not sure if I can do an entire series, but I'm thinking of making a Chrome extension with JS at some point. Thanks for letting me know your thoughts anyway!
@udaysinh4 жыл бұрын
It is really nice to learn this at age of 15 and good explanation...thank you
@jagbetuyi001 Жыл бұрын
That octopus looks real busy. Good work explaining this.
@azimmirzoev67043 жыл бұрын
I am CS student, and I have been following your channel for almost 2 years. It's a great explanation, but it would be more useful and more interesting if you could also show your explanation in code! Anyways thank you for your efforts!
@sahelijati58514 жыл бұрын
finally found a good programming teacher..
@jeppirukun25464 жыл бұрын
I really struggle on my studies on Computer Science, and I still want it to become successful in this path. Please help me sensei.
@emanuelriquelmemontoya38193 жыл бұрын
keep learning for a few decades that is the only way of becoming good at something
@sihyunpark62453 жыл бұрын
@@emanuelriquelmemontoya3819 Though you are right, if it doesn't come naturally to you even when taught over and over then you should consider choosing a different path, not everyone is made to do one thing we all have a strength and weaknesses.
@prathamesh_b4 жыл бұрын
@CS Dojo Thankyou Sir for guiding us!
@manuelelkess82594 жыл бұрын
your videos help me a lot thank you and please continue this course until the very end
@garvitpahwa23494 жыл бұрын
You are the best pls keep uploading. Love from India
@CSDojo4 жыл бұрын
Yes I will!
@Perres214 күн бұрын
Wow thank you. Its so easy to understand with this video
@margaritashielatimbal6384 жыл бұрын
I just had a quiz on this subject and our topic was stack. This video was really helpful. Hopefully, you'll make a series about C or C++
@CarlC98983 жыл бұрын
Hi Margarita ;)
@gayatrit31494 жыл бұрын
I thought you stopped making videos, thank god your back , have learnt a lot from you , Thanks a lot !!!!!
@rosalindaalbrecht17952 жыл бұрын
Favorite quote: "That's how pancakes in the real world work."
@Elif-ti9wf4 жыл бұрын
Aaaaah this week I took the first lesson of the data structures course at school thank you 🤗
@list90163 жыл бұрын
else if
@Sirbikingviking2 жыл бұрын
How have I not found this channel before now?
@davdeveloper Жыл бұрын
You are very good at explaining stuff. It would have great if we could watch at some code example as well, simple ones.
@mandre23902 жыл бұрын
I was just stuck on that problem at the end, thanks!
@lucyledezma7094 жыл бұрын
Hello Cs Dojo!!!. So much time again!!!
@CSDojo4 жыл бұрын
Hello, and sorry! I'll be faster :)
@maxxpellowski29163 жыл бұрын
Another great video YK, thank you. I may not know much about data structures, but I know pancakes and you really break it down wonderfully. 🤣
@delealli99652 жыл бұрын
THIS VIDEO IS SO GOOD
@DarthVader-wm6tf4 жыл бұрын
Yeah ... You're back ... Horrah .. so happy you're back ... Cheers for yk
@KilluaZoldyck-wj5cy4 жыл бұрын
Finally you remembered you have a KZbin channel 😂😂😂. Awesome explanation btw👍🔥
@CSDojo4 жыл бұрын
Haha yes, sorry about the delay - but I'll post more
@Abdullah-cp6eb4 жыл бұрын
@@CSDojo no prpblem Dojo we will wait till die That was ridiculous righto😀
@KilluaZoldyck-wj5cy4 жыл бұрын
@@CSDojo I'm waiting 😄. By the way I want to buy a laptop for college......Got any recommendations?
@shahzebkhalid55912 жыл бұрын
@@KilluaZoldyck-wj5cy im replying very late but i would recommend Dell XPS
@Alex-bc3tt3 жыл бұрын
I liked the video just after playing it... and when I was done I wished I could like it again... thanks for the great content you never disappoint
@bjarneStroustrup3504 жыл бұрын
Best explanation for DS❤️😘🇮🇳
@souhardya694 жыл бұрын
After a long wait.. Welcome back
@CSDojo4 жыл бұрын
Sorry for the wait! I'll try to be faster in the future.
@manu-singh4 жыл бұрын
Your videos are getting rarer to get hold of.
@CSDojo4 жыл бұрын
Sorry about that - I'll start posting more from now on
@manu-singh4 жыл бұрын
@@CSDojo don't be sorry, I am sure you're probably busy at work. I learned so much from your interview problems and this DSA playlist. So thank you for that.
@mohammadyasir87004 жыл бұрын
You are AWESOME !! , you should interact with us by uploading videos on various topics !!!
@CSDojo4 жыл бұрын
I will!
@cowsofliberty52305 ай бұрын
csdojo you the boy
@milnueve894 жыл бұрын
Thanks, man. This is extremely illustrative and helpful! Your illustrations make it clear. You're a true teacher. Please, keep doing it! PS: I don't know what the heck an octopus was doing there, but I like it.
@nayanasagar60624 жыл бұрын
Can u please upload videos on regular basis......The way u guide through is really amazing...a sincere request ...🙏
@CSDojo4 жыл бұрын
I'll try my best. Thank you!
@misosoup75312 жыл бұрын
my friend says he likes your sweater; keep it up man! :)
@kartikbilagiarts72134 жыл бұрын
I am not the first....😗 I am not the last....😄 But as the notification came...😯 I click it so fast..!!!!.😲 That my phone got blast..!!!.😨 🌻🌻🌻 😂😂😂
@NikhilKumar-fj2dg4 жыл бұрын
This is what I'm waiting for Thankyou so much 🔥👍🙏
@itsd3br33 Жыл бұрын
Brilliant explanation, thank you
@kenkioqqo Жыл бұрын
Straightforward analogy. But what's an example of a use case for stacks and queues? In what type of scenario would I need to use a stack?
@rupamsud7184 жыл бұрын
welcome back YK
@tushig.b.65263 жыл бұрын
You are the life saver! Hontouni arigatou gozaimasu!
@itsfaithtime4 жыл бұрын
Yaaayy!! You're back! :) 🙌🙌
@selvalakshmis.v42323 жыл бұрын
This video is really helpful for me Thank you.
@Gooman15YT4 жыл бұрын
excellent, i learned it all
@CorwinBell2 ай бұрын
Curious why you use an array to hold your stack? Wouldn't a linked-list make more sense since it already has stack methods (e.g. push and pop)? You even mention that if you run out of space with your array you'd have to create a new array, one of its key limitations. I also find moving the pointer reference to a different index while keeping the value in place instead of actually popping the value to be an awkward representation of popping the top value of the stack
@leviermonaites68323 жыл бұрын
If I have a queue, and it's a tasks queue, once that one task is completed I should remove the element from the queue, or just move the pointers? And if I should just move the pointers, once that the pointers are on its limits, I would have to create another bigger queue to do what I want, right? This approach wouldn't use a lot of memory? Once I made this remark, am I right if I define a queue as something that should be just a collection of things that will be freed of the memory soon, once it's completed? Edit1: I was searching about, and one good response that I found was to use linked-lists, what I think is a great approach, once that it is first-in first-out, so you wouldn't have the problem of needing to change something or access something in the middle of the list, at least I think so. Edit2: @t Here's the code I've developed so far, trying to solve this issue.
@shashankkr10084 жыл бұрын
Great explanation 👏👏👏
@shubhambhardwaj88944 жыл бұрын
Awesome explanation ❤
@NaveenKumar-uq6zd4 жыл бұрын
Thanks for teaching us!!
@zarrinnahid4483 жыл бұрын
Thank you so much, these vedios are very helpful 🌸🌸🌸
@minimalinput64562 жыл бұрын
Thanks a lot this was extremely helpful
@magacaygamaxamuud72534 жыл бұрын
Thanks cs dojo
@Mememeep3 жыл бұрын
thanks! that's so easy to understand!
@subham25934 жыл бұрын
Love you bro
@vishalpawar0964 жыл бұрын
You are great man.... And too cool
@nuridalarasati86943 жыл бұрын
Thank you i like your explanation
@list90163 жыл бұрын
it feels like a crime watching this for free..
@jamezjaz3 жыл бұрын
Amazing, I just subscribed!
@markmulder98453 жыл бұрын
Thank you. This channel really helps me with my data structures homework and such!
@krzysztofkalinowski29989 ай бұрын
Here is my Deque class (in java) if someone needs example public class CustomDeque { private Integer[] dequeArray; private int count; private int max; private int leftIndex; private int rightIndex; public CustomDeque(int length) { dequeArray = new Integer[length]; //this array can be int if you don't need to store null values count = 0; max = length; leftIndex = 0; rightIndex = 1; } public void addLeft(int data) { if (count >= max) { System.out.println("Deque is full"); return; } dequeArray[leftIndex--] = data; leftIndex = indexBounds(leftIndex); count++; } public void addRight(int data) { if (count >= max) { System.out.println("Deque is full"); return; } dequeArray[rightIndex++] = data; rightIndex = indexBounds(rightIndex); count++; } public Integer popLeft() { if (count == 0) { System.out.println("Deque is empty"); return null; } leftIndex = indexBounds(++leftIndex); count--; int result = dequeArray[leftIndex]; //no need to empty values. Its enough to just move indices. This is purely to debug using toString() method dequeArray[leftIndex] = null; return result; } public Integer popRight() { if (count == 0) { System.out.println("Deque is empty"); return null; } rightIndex = indexBounds(--rightIndex); count--; int result = dequeArray[rightIndex]; //no need to empty values. Its enough to just move indices. This is purely to debug using toString() method dequeArray[rightIndex] = null; return result; } private int indexBounds(int index) { if (index < 0) return dequeArray.length - 1; if (index > dequeArray.length - 1) return 0; return index; } @Override public String toString() { return "[CustomDeque] = leftIndex = " + leftIndex + "; rightIndex = " + rightIndex + "; dequeArray = " + Arrays.toString(dequeArray); } }
@_13eki3 жыл бұрын
wow this helped me understand stack and queues easily Thank you really..... but i was curious how was he presenting like this?? i mean what tools are you using?
@sionmarak19163 жыл бұрын
what is 0(1)?
@veerrathod37474 жыл бұрын
Thanks brother it really helped
@ishanpokhrel59724 жыл бұрын
make a video in priority queue and heaps love from nepal❤
@barataapsii24663 жыл бұрын
Thank you Sir
@delealli99652 жыл бұрын
THANK YOU
@NervylHraje4 жыл бұрын
Thank you!
@godwinprecious27134 жыл бұрын
wtf! How come I wasn't notified by KZbin when you posted this video?!?
@davidpalafox69784 жыл бұрын
Is statistics major good for data science if so would I need a masters? Good to see CS Dojo posting more!
@CSDojo4 жыл бұрын
Thank you, yes, and about master's - not sure. I think if I was you, I would do CS because it's easier to get a job with it. CS undergrad degree and whatever master's degree you feel like you need if you think you need it.
@davidpalafox69784 жыл бұрын
@@CSDojo yeah I’ve been struggling with my CS major, but I guess I just gotta put more effort then what I have been doing I’m in my 3rd year. Thanks!
@procode68814 жыл бұрын
Which software you use to make these illustrations
@bara79792 жыл бұрын
Thank you
@haomintian68154 жыл бұрын
Hi Dojo! thanks for the cool video! Always fun and inspiring! I just started on coding, I wonder if I should focus more on algorithms or actual project?
@CSDojo4 жыл бұрын
I would say, work on a project first! I think having some inspiration is important.
@samrasoli Жыл бұрын
useful, thanks
@pietromantova78597 ай бұрын
thank u bro!
@jfklittle3 жыл бұрын
Small Tip: Maybe explain what stacks and queues are useful for before explaining how they work. In that order I want to know how they work and why they are important.
@doniyorrustamov9964 жыл бұрын
hello bro l really like your explanation 👍it is amazing. l hope you will not stop making video anymore. If you make video about why you couldn't make video during these times it would be very good video. good luck everytime thanks in advance !!
@nikhilnayak21793 жыл бұрын
solution in python class Stack: def __init__(self): self.items = [] def isEmpty(self): return self.items == [] def push(self, item): self.items.append(item) def pop(self): return self.items.pop() def peek(self): return self.items[len(self.items)-1] def size(self): return len(self.items) def parChecker(symbolString): s = Stack() balanced = True index = 0 while index < len(symbolString) and balanced: symbol = symbolString[index] if symbol in "([{": s.push(symbol) else: if s.isEmpty(): balanced = False else: top = s.pop() if not matches(top,symbol): balanced = False index = index + 1 if balanced and s.isEmpty(): return True else: return False def matches(open,close): opens = "([{" closers = ")]}" return opens.index(open) == closers.index(close) print(parChecker('{({([][])}())}')) print(parChecker('[{()]'))
@udaykiran62504 жыл бұрын
Hello dojo please suggested a book for starting Java programming (beginner(starting))
@CSDojo4 жыл бұрын
Hmm actually I'm not sure, but I just started a Twitter thread here: twitter.com/ykdojo/status/1316926401354846208 Hopefully someone will answer it
@udaykiran62504 жыл бұрын
Thank you dojo 😍
@AripAsadulaev2 жыл бұрын
Why overlapping is unbalanced?
@OforiwaaAmanfo-Sam4 жыл бұрын
You’re amazing!
@CSDojo4 жыл бұрын
Thank you!
@rupamsud7184 жыл бұрын
Can you make a series on java please. Cheers
@Gooman15YT4 жыл бұрын
bro what how is it possible to be this early to a coding video
@vissamsettyroja79144 жыл бұрын
Can U use iphone while working in Google company ???
@moodleblitz2 жыл бұрын
During a stack pop operation, is the top value deleted first and the value of "top" decremented after, or is it the other way around?
@deforesttthompson92993 жыл бұрын
Wouldn't it be better to use a linked list to implement a stack?
@selindoga3 жыл бұрын
Can i combine queue and linkedlist? like making an algorithm that uses both algorithms' features? is it doable? or these two cannot be combined techicaly?..
@weltmeister4 жыл бұрын
I would've needed this a couple months ago
@nono-eh9lz4 жыл бұрын
Please start live classes for beginners on zoom.
@junaidahmed39813 жыл бұрын
I was wondering, won't it be much convenient if we used linked list instead of an array?
@crist2000a12 күн бұрын
First time hear that array can be pointed by last element.