How f**king shits these videos are!! All you guys just need to learn a programming language and master in it and learn dsa concepts and practice and keep consistency That's it These videos kind of scam😂😂😂
I am just starting to study DSA by myself and this video was EXACTLY what I needed. You explained it so well that I thought the leetcode problem was EASY. Great video!!!!!
Brother I literally saw 8 videos about hashmap and was always getting confused at one part or the other. Your video literally is a goldmine. Thanks for adding an example problem helps a lot!
Let me start off saying i really appreciate the content. It really filled in a gap in my own understanding in how i can use hashmaps. Question, correct me if I'm wrong please, I'm still learning code and computer science in general, but if the key is being transformed by a hash function, which to my knowledge, doesn’t care what order the input is, meaning it will give the same hash value and map to the same array index regardless of the order, do we need to sort it at all? I guess in terms of readability it helps, i guess im just am looking at the fact there is an additional operation being performed to sort the characters into a new list. I know it wont affect performance significantly in a example where there are three characters being sorted and im being a little weird like "what if i had a list of regular expressions?" or something where the data can be arbitrarily long. Also, would that eliminate the need to cast the result of sorted_s as a tuple? I dont know if python under the hood treats strings as a list or something else. If it does, wouldnt that also eliminate another operation. Again, i want to thank you for your time and effort and its great content for sure and it helped me learn more about something im deeply passionate about. Just want clarification if im misunderstanding something.
Nevermind the order does matter for hashes and the tuple implementation seems to make sense to me now but the other question still stands. Again, im a scrub here just looking to learn.
Hello bro just a small doubt when we look at a question how do we understand which data structure we need to apply or does it depend on our experience of solving more & more questions which helps us to understand which method of data structure we need to apply!!!
Sh1t, we literally skipped data structures and algorithms last year in my 2nd year at college. We had the subject but we weren't even taught about it (we basically hovered over linked lists and big O notation the entire semester!). I thought it wasn't important and thought how easy the subject was. Turns out I missed a lot! Now it's time to study hard 😢
I just found your channel today and have watched a few of your videos. They are some of the best that I've ever seen when it comes to Leetcode prep with clear instructions and helpful tips. Thanks you so much for sharing these!
Learned frontend and was interviewed with the front end mindset.. have been full stack since day one.. fire hose tactic starts to go down smooth after a while lmao
I have a competition this Saturday and I've been asked to practice from leetcode. Let me tell you, I'm only a highschool student. The 'easy' question from leetcode take me a whole 30 mins to come up with an algorithm. I was told that I would be asked questions from medium and hard difficulties. With only 3 days left, I'm not sure of how much I would be able to prepare.
@@Praveen_C11 The competition is over, and I managed to get a speed of 15 mins/easy and 25 mins/medium before he competition. Turns out that the organisers were just exaggerating. All the questions were from easy and I managed to get second place. The team that got first just had twice the members as our team.
The problem people have with these questions is that they try or think they need to invent this algorithm (extremely difficult). When in reality the question is merely testng your almost rote knowledge of an already existing solution. a truly unique answer requires a truly unique puzzle, and you just arent going to get that. These sites are learning tools not MENSA entrance exams.
I have a question about sort(). From what Ive read, using sort() runs at O(nlog(n)), is this still the case for using it on a string even though strings are limited to a small number of letters? Thanks in advance!