41. First Missing Positive | Cycle Sort | Using Array as Hash | HashMap | 5 Approaches
Vložit
- čas přidán 5. 07. 2024
- In this video, I'll talk about how to solve Leetcode 41. First Missing Positive | Cycle Sort | Using Array as Hash | HashMap | 5 Approaches
Similar Problem For Practice - • 442. Find All Duplicat...
Let's Connect:
📝Linkedin: / aryan-mittal-0077
📸 Instagram: / ez.pz.dsa
📱Telegram : t.me/aryan_mittal_group
🤖 Github: github.com/aryan-0077
About Me:
I am Aryan Mittal - A Software Engineer in Goldman Sachs, Speaker, Creator & Educator. During my free time, I create programming education content on this channel & also how to use that to grow :)
✨ Timelines✨
0:00 - Important
1:02 - Problem Explanation
2:40 - Approach1 - Brute Force
5:22 - Approach2 - Binary Search
6:47 - Approach3 - Using Hash Map
10:30 - Approach4 - Using Array as a HashMap
27:15 - Approach5 - Cycle Sort
✨ Hashtags ✨
#programming #Interviews #leetcode #faang #maang #datastructures #algorithms
I know the video is a bit long than other most visited YT videos for the same problem, but please jump on to timestamps for the approach you feel like learning. [Though all 5 approaches are incremental] ❤
Don’t get discouraged because of the views or subs! What you’re doing is absolutely correct and the perseverance will yield the results sooner or later!
Bro just watched your whole video and now i am your subscriber .Your Explanation is very Clear.
Bro, I always try to watch your POTD video even if I missed it on the same day, because the extra points given by you are very useful.
I was looking for videos that discussed cycle sort approach, and this video is the only one that I found
Nice explanation. efforts appreciated and hope you will be posting video regular.
Always know You have quality audience
brooo dont be sad, i watch your videos everyday because i like watching maximum number of approaches in video format as it makes my life easier, i do spend quite some time on problems like reading multiple solutions but your videos make my life easier when I am lazy to read and understand solutions. Some cases in graphs i see people do bfs, dfs but i do see that you make sure that we also know what is the union find solution which is usually not there in most other videos
Aryan sir the amount of effort you are putting in to give back to the community is just amazing . I know hardwork is a mere normal thing for you but then also thanks a lot for teaching us things in easiest way possible.
thanks a TON for covering all the approaches, i reached the second last approach myself but modifying the input array did seem a bit wrong. your way of explaining all possible approaches to a problem is intuitive and easy to understand.
I'm from Bangladesh. I watched the whole video and the approach is great. I learned new things. So pls don't get disheartened for views or reach.
dont worry about the views and subs bro...your audience are only legendary people and thats why they are less in number
Good explanation brother. Keep up the good work :)
Great explanation
I think your video is the best for me to understand concept of cycle sort which was new to me, I salute you for your hardwork and dedication, looking forward to more amazing videos from you
Nice explantion.Thank you so much for the video
Nice explanation of cyclic sort bro :)
appreciate your efforts
insane bro
full support to u
You are great bro
Thanks for the efforts man❤
Thanks for the awesome video!
Can you share the notetaking app's name you have used?
Thanks a lot sir 🥰
Nice
amazing😍
you deseve a million subs
Thanks bro
Bro cyclic sort solution give runtime error on testcase 170 because of integer overflow what I do to resolve it
where are the code for each method?
Bhai, please make the video in hindi
12 June 2024
41:46 i m here
Please speak a little bit slowly