Try my free email crash course to crush technical interviews: instabyte.io/
@ThourCS2 Жыл бұрын
1. Top-k Largest Elements 2. Sliding Window 3. Backtracking 4. Dynamic Programming 5. DFS and BFS
@s.k.6563 Жыл бұрын
Vice versa
@muneebzubair8443 Жыл бұрын
Bonus Algorithms at the end of video: 6. Topological Sort 7. Dijkstra's Algorithm
@alexeyprikhodko6990 Жыл бұрын
@@muneebzubair8443 8. Tree
@sajithgunarathna3696 Жыл бұрын
Copied
@AbhinavRaj_P Жыл бұрын
@@muneebzubair8443😅
@studytable2060 Жыл бұрын
1. Top-k Largest Elements(from array) 2. Sliding Window(longest substring without repeating characters) 3. Backtracking(combination/target sum, word ladder, permutation, sudoku solver) 4. Dynamic Programming(combination/target sum) 5. DFS(implemented using stack(LIFO)) and BFS(implemented using queue(FIFO)) ex-Dijkstra's Algorithm, Topological sort
@jojobabu5718 Жыл бұрын
We want a video on top 5 most asked data structures
@prabhatkumarraj9709 Жыл бұрын
Yeess
@cinzoop5250 Жыл бұрын
+1
@iamgroot2810 Жыл бұрын
+1
@sahilandsarra Жыл бұрын
Hi all! Thanks for the suggestion. Will post it this weekend 😊
@_JAGATHEESANV Жыл бұрын
@@sahilandsarra thank you so much
@iAPX432 Жыл бұрын
I like how you explain simply with a very calm voice things that might seems complex at first! Great work!
@aufkeinsten7883 Жыл бұрын
Jesus christ you are an absolute beast at this, best educational content I've seen I think! Concise, informative, simple but not superficial.. Thank you so much!
@davit_code8929 Жыл бұрын
If you don't need to return the elements in order, Top k elements can be optimised even further with quickselect to Time complexity of O(n + k) => O(n) AND bringing down the space complexity to O(1) too. Quickselect has a worse time complexity of O(n^2), but picking the pivot randomly each time gives O(n). The chances of always picking a bad pivot that would make it O(n^2) with a random pivot is so small, that papers assume it never happens.
@tho_norlha Жыл бұрын
Just a question: You can do one for loop to get the largest let -> n Another one to remove that won’t -> n Repeat it 2 times so we get too 3 elts ->O(5n) = O(n) Am I correct ? If it’s too 3 elts, but I see that a heap might be better if we want the top k elts and if K is very large
@nassir215410 ай бұрын
🎯 Key Takeaways for quick navigation: 00:00 📚 *Introduction to Common Algorithms in Coding Interviews* - Overview of frequently asked algorithms in tech company interviews. - Emphasis on the 80-20 rule in algorithm knowledge for interviews. 00:30 💡 *"Top k Elements" Algorithm* - Explanation of the "top k elements" algorithm and its application. - Use of heap data structure for efficiency in finding k largest elements. 01:52 🖥️ *"Sliding Window" Algorithm* - Introduction to the "Sliding Window" algorithm for various problems. - Example using Largest Substring without repeating characters. 03:17 🔙 *Backtracking Method* - Concept of backtracking explored with the Combination Sum problem. - Use of recursion in backtracking algorithms. 05:07 🧮 *Dynamic Programming Approach* - Differences between backtracking and dynamic programming. - Application of dynamic programming in solving the Combination Sum problem. 07:02 🌐 *Graph Traversal: BFS and DFS* - Explanation of Breadth First Search (BFS) and Depth First Search (DFS). - Comparison of BFS and DFS in graph traversal, and their respective data structures. Made with HARPA AI
@kkcui Жыл бұрын
I like how you explain recursion - I always draw a stack and dive into each step but that's just cost a lot of time. And 127 interviews is just impressive! Keep up the good work power couple! 🙌💪
@sahilandsarra Жыл бұрын
Thanks Kexin! Love your videos 🫶
@ohazimihevanessa3972 Жыл бұрын
@@sahilandsarra Thanks for your videos, i'm learning python thanks to you, where can learn GoLang, datacamp isnt teaching this programming language
@sebastiantu6212 Жыл бұрын
I never really understood backtracking until I realized that it should be called quit when there’s no point going on
@AdnanDev-su5no Жыл бұрын
I was taught all these in university, but never told how, why or where they are used. I have started to use these in my personal projects after watching your video. Thanks a bunch for spreading this valuable knowledge. And of course I do plan to use this info for coding interviews in the future apart from my projects 😅
@paultvshow11 ай бұрын
Hey, Have you landed a job yet? What is your primary language?
@AdarshGupta-hc3qv9 ай бұрын
bro send me money too i have pay for my college fees ( small help will be appreciated)
@dankiy3679 Жыл бұрын
I would suggest using Quick Select to solve problems where you have to return top K elements, since it has O(n) average time complexity
@sahilandsarra Жыл бұрын
Thanks for sharing 👍
@moneymaker7307 Жыл бұрын
U can mention quick select but I won’t try to code it up in interviews
@anon1963 Жыл бұрын
@@moneymaker7307 why?
@dapygor93395 ай бұрын
@@anon1963 it's kind of hard
@alicivrilify Жыл бұрын
This is great work. Please continue giving info about interviews, so that I can train my students better.
@RomanKopystyrynskyi Жыл бұрын
For k largest/smallest elements we can do heapify which works in O(n) and then take k element in constant time. Second option is counting sort which works in O(n +k)
@JD797 Жыл бұрын
Even with heapify in linear time, taking k elements is still klogk since when the top element is removed, the heap moves the last element to the top to replace it and sifts down, which is log k operation
@Omar_Al_Seddik11 ай бұрын
We can solve it in O(n) time using bucket sort.
@divakarsaragadam8420 Жыл бұрын
Thanks for sharing your knowledge with out any cost
@sahilandsarra Жыл бұрын
Thanks for watching.
@abbylynn8872 Жыл бұрын
Right... I'm so grateful for the knowledge sharing 💕
Your videos are so helpful, I inevitably end up saving them in a playlist so I can refer to them later whenever I need guidance. Thank you so much.
@sahilandsarra Жыл бұрын
Thanks 🙏
@elavarasan289 Жыл бұрын
Whenever I am getting demotivated u just create a video and it makes me think dsa is easy. I dont know whether your calming voice or the way you explain. Thanks a lot .
@sahilandsarra Жыл бұрын
Thanks 🙏 👍
@TuringTested01 Жыл бұрын
i think its his gay voice he got in iit delhi which makes him very calm
@richied905 ай бұрын
Nice and simple explanations! Thanks for uploading this
@unity3dconcepts434 Жыл бұрын
You are calmer than the buddhist monks. Listening to you is nirvana... 😁🤓🤗 Thanks for sharing your experience 👍👍👍 love and respect
@stith_pragya6 ай бұрын
Thank You So Much for this wonderful video..............🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻
@wadigzonDiazwong8 ай бұрын
Thanks for sharing this. I think a better title would be "Top 5 Algorithm Patterns they asked me" other than that, great work!
@karanbenz Жыл бұрын
Sahil, amazing Video. Loved the way you explained the problem with an animation. Highly recommend you launching a course in DSA using Python with similar explanation 🙏
@CRBarchager Жыл бұрын
Very good explication. There are algorithms here I've never heard of or for that matter never had any use for in my developer career but it's nice to broading your knowledge of things. Thank you for sharing.
@paul_c15 Жыл бұрын
Please do a video about the top 5 data structures!
@raidenshogun978 Жыл бұрын
It would be awesome if you make a series explaining these algorithms
@_Aditya_Kumar_Raj Жыл бұрын
i love your calmness while explaining
@manishv3992 Жыл бұрын
Bro what an animation, how did you learn this top notch editing bro ❤
@kan15hk10 ай бұрын
Top k-frequent elements with heap is also N * log(N) time complexity.
@larbesabdellah7079 Жыл бұрын
I'm a computer science student, I'm doing cloud computing now, I'm bad at networking and I hate it, but I'm in love with programming, please help me !!! Especially professional persons give me advices, roadmap anything to make me in the right way
@muneebzubair8443 Жыл бұрын
Bonus Algorithms at the end of video: 6. Topological Sort 7. Dijkstra's Algorithm 0. A*, Bellman Fords, Floyd Warshall
@elvisgarcia1822 Жыл бұрын
Wow, Nice explication even for someone who do not speak english I understand everything, Nice video editing everything was perfect, thanks for sharing your knowledge :)
@sahilandsarra Жыл бұрын
Thanks 🙏
@alviahmed7388 Жыл бұрын
Definitely make a top data structures video sahil! Also love your videos
@sahilandsarra Жыл бұрын
👍
@lakshyasaharan5348 Жыл бұрын
The music sound at the end was perfectly placed.
@bhaskarkothala5169 Жыл бұрын
Hey man why don't you start giving tutorials.I believe you can deliver them way better than many people
@Samandar-dev Жыл бұрын
Sahil, thank you . Please do a video about the top 5 data structures!
@sahilandsarra Жыл бұрын
🙏👍
@BangsarRia Жыл бұрын
"Algorithms + Data Structures = Programs" was a 1976 book by Wirth, the designer of the Pascal programming language. Algorithms were all the rage in computing 50 years ago. Train yards and queuing in the 1960's, sorting, traversal and scheduling in the 1970's for Operations Research, an entire field that shortly disappeared. Then the focus turned to symbolic processing and other problems because algorithms were largely solved and available by calling libraries. While worthy of study for students, algorithms as questions in interviews for professional jobs shows a complete misunderstanding of solving real world problems and what a healthy code base should look like.
@feroast1 Жыл бұрын
I'm always surprised when an interviewer doesn't follow with questions on how I'd implement in production code since, as you point out, most langauges have optimized solutions for us to leverage. However... DS-Algo challenges are the best way to determine candidate understanding of the computer science behind implementation choices. It's the best way to differentiate real coders from script-kiddies.
@Shazam9999 ай бұрын
@@feroast1My first developer question is always "has any of your code made into a production environment?" Most people actually answer no. I have no idea what people do all day.
@Shazam9999 ай бұрын
Pretty much. No one is writing algorithms by hand. That would be a colossal waste of time. Guess it sorta explains why FAANG employ so many people though.
@snipacer Жыл бұрын
Hi Sahil, I loved your videos❤. Your voice is so dense😊. May God bless you.
@sahilandsarra Жыл бұрын
Thanks ❤️
@studiesinformation436 Жыл бұрын
Every of your video is Awesome please do a playlist on DSA I will be very thankful for considering of my comments Keep it up❤❤❤
@sahilandsarra Жыл бұрын
👍❤️❤️
@hemanth_koll Жыл бұрын
Requesting you to kindly start a DSA course/boot camp - it would be very much helpful - thank you
@dakuta9 ай бұрын
IIt's impressive to hear about your experience with 127 interviews and the algorithms they focused on. However, I'm curious about the circumstances that led to such a high number of interviews. Do you think there are specific factors or challenges that contributed to this? It would be really insightful to hear your thoughts on how to efficiently navigate the job market, especially for those who might find themselves in a similar situation.
@dibyanshudash3996 ай бұрын
Yes, pls make a video on Top 5 Data Structures
@MaximStarikov Жыл бұрын
Thanks for the video!
@piyushmourya3183 Жыл бұрын
His calmness is scaring me
@5outof5softwaretester Жыл бұрын
😂😂
@timhoward53 ай бұрын
😂
@TricoliciSerghei Жыл бұрын
Would love to see the some data structure videos.
@sahilandsarra Жыл бұрын
👍
@sangu3939 Жыл бұрын
Thanks sir make a video on Android app development from java what things we follow and learn for beginning
@motivationimpact181 Жыл бұрын
I love your videos each time something new very interesting topics
@sahilandsarra Жыл бұрын
Thanks 🙏
@bigtime9231 Жыл бұрын
Would be great if u upload lectures on dynamic programming! Great content go ahead.
@smartbinit2 Жыл бұрын
This guy speaks so politely it just doesn't feel he is speaking and he also must be saving a lot of energy 😂
@Mohitsingh-bv1yp Жыл бұрын
Please explain top 5 algorithms in detail And make more this type of video
@RahulSharma-ht2xz Жыл бұрын
yes we want a video on top 5 data structures
@karanyuvrajsingh4911 Жыл бұрын
Amazing explanations!!
@sahilandsarra Жыл бұрын
Thanks 🙏
@ratnadeepsaha7675 Жыл бұрын
Please make a video on most commonly used algorithms and data structures with use cases. Include not only 5 but also the other commonly used ones
@vedparkashgaba5478 Жыл бұрын
Nice video content selection is also good
@sahilandsarra Жыл бұрын
Thanks ❤️
@iirekm Жыл бұрын
The problem is that most coding interviews are unrealistic. The reality is that in 99% of programming jobs, you'll never write a complex algorithm, all you need is to know 1) what library / tool / framework use in what situation, 2) communication skills. Low-level coding skills are for most IT jobs unimportant. Also in 99.99% of programming jobs you don't have such small hard time limit constraints (e.g. 1 hour to solve problem), but you rather can work for days (at least) and can use Google, StackOverflow, or help of colleagues. I reject job ads when they even mention that there will be a coding task. Coding interviews make sense only for maybe 1% of IT jobs where writing low-level middleware is involved (database storage engines, cryptography libraries, compression libraries, graphics libraries, ML libraries, etc). For most programming positions system design interview (e.g. what framework / library / technique would you use and why) is a much better option, sadly still few companies do it, still requiring nonsense coding interviews.
@m_yoda Жыл бұрын
Sometimes it is hard to understand you because of your English, but thank you for the video overall.
@anirudhmittal5381 Жыл бұрын
Thank You for doing this. I subscribed to your channel as I love your videos. Can you recommend a best site that is good for learning and practicing these algorithms to pass most coding interview questions. Reply highly appreciated.
@mohanseditz Жыл бұрын
I like the way you speak!
@sahilandsarra Жыл бұрын
Thanks 🙏
@biniyamabera8356 Жыл бұрын
yes, We want a video on top 5 most asked data structures
@ishaaq5506 Жыл бұрын
Yes please Top 5 Data structures.
@muhammadjawad7520 Жыл бұрын
Hello 1. Pls make a video on: Type Script vs Java Script (For Web Development) 2. Pls also share Budget Friendly Web Hosting & Domain options.
@muditjaiswal Жыл бұрын
For the "Top k elements" for your solution the complexity is actually O(nlogn), since in worst case scenario k tends to n.
@aliiucer Жыл бұрын
no it can never exceed nlogk, assume k==1 so there is no way to make it nlogn
@muditjaiswal Жыл бұрын
@@aliiucer you are considering the best case scenario, mostly folks talk about worst case complexity & average case complexity when talking about an algorithm.
@aliiucer Жыл бұрын
@@muditjaiswal actually k is a different variable than n so nlogk is a better choice, worst case is a different thing
@pratyushkumarsahoo6117 Жыл бұрын
We want top 5 most asked data structures
@shubhammergu81586 ай бұрын
Must make video - Top 5 most asked Data Structures
@iosifcastrucci4 ай бұрын
If someone is starting from 0, what do you recommend they start with? I mean, what is the best learning path?
@rizwanullah3864 Жыл бұрын
@PowerCouple, please make one video on calculating Time complexity
@madhav_0075 Жыл бұрын
Really needed sir kindly teach
@ganeshreddykomitireddy5128 Жыл бұрын
Please make a video on the top 5 datastructures
@shikhar7437 Жыл бұрын
Make a video on TOP 5 MOST ASKED DATA STRUCTURES.
@samratsaha44711 ай бұрын
top 5 DSA asked, we need a video on this topic
@Vivekkumar-zc7mz Жыл бұрын
I always watching ur videos and learned alot
@sahilandsarra Жыл бұрын
Thanks
@audox48855 ай бұрын
im confused if these are the coding problems or the algorithms, because we use algorithms to solve these that you mentioned right?
@mehdihassan933 ай бұрын
I can do these algorithms even if someone ask me in the middle of sleep. however I am still worried about the upcoming interview
@SachinPatel-xi9fn Жыл бұрын
Could you please make a video on the future of developer after 5 years from now ? As chatGPT and AI is evolving.
@Raj-pi1pl Жыл бұрын
please make 1 videos on all the algos
@AyushKumar-pq4wi Жыл бұрын
can you please make a detailed video on most asked data structure Topics In an interviews ?
@codedecks Жыл бұрын
Waiting for the top 5 system design concepts asked in Google interviews ❤
@robertk4079 Жыл бұрын
Kindly post videos explaining these 5 algorithms
@developer_opm Жыл бұрын
CAN YOU PLEASE MAKE A FULL COURCE ON DSA, BCOZ YOUR WAY OF EXPLANATION IS MINDBLOWING
@buddyreg234 Жыл бұрын
Spooky oO
@VikasNikhil Жыл бұрын
awesome video, the way you are speaking I feel I am listening to an AI machine. Thanks :)
@randimadevindi55418 ай бұрын
Do a video contains top 5 data structures. That may be helpful
@DigvijaySingh-se2ll Жыл бұрын
please make a video on flow state and how to get into it
@sahilandsarra Жыл бұрын
I have already made it.
@31ankitnain41 Жыл бұрын
sir please make a detailed video on dsa as whole about topics most ques are asked
@sahilandsarra Жыл бұрын
It’s already linked at the end of the video.
@ritik609510 ай бұрын
6 months back i watched this video i don't know any of them and i was like how will i do them, today i know all of them and i can say i have mastered all of them except the dp (hehe)
@DevangPatel-y8j Жыл бұрын
Yes, please make it
@jhors7777 Жыл бұрын
Thank you for posting this helpful and detailed video
@learning-simlified Жыл бұрын
top 5 most asked full lecture about ds and algorithms please
@sekarrajagk8261 Жыл бұрын
top 5 most asked data structure is needed
@Miss_Informative02 Жыл бұрын
SARRA PLEASE BRING PRODUCT MANAGEMENT CONTENT 🥺❤️
@RakeshSingh-qo5nd Жыл бұрын
Please make the video. I am watching Aditya Verma DSA. It is best for me
@beinghappy9223 Жыл бұрын
Backtracking , DP , DFS & BFS
@K9TX Жыл бұрын
big fan sir
@sahilandsarra Жыл бұрын
Thanks 🙏
@sigmamale7914 Жыл бұрын
please make a video how to Build Resumes with the help of 'AI"..............
@Bankai-kamishininoyari Жыл бұрын
do make the top 5 data structures
@sahilandsarra Жыл бұрын
👍
@jitendaranjan7501 Жыл бұрын
Love you bro I inspire you
@bommanahemanth4551 Жыл бұрын
Please do video on top 20 algorithms
@almousafir4041 Жыл бұрын
Nice video 👍
@sahilandsarra Жыл бұрын
👍❤️
@vinaygujjula8381 Жыл бұрын
We want video on data structures how to understand easily and what process we follow to remember easily. Try to make full length video on data structures.Thank you❤ always @power couple ❤❤
@andreborgesuhlrich631 Жыл бұрын
What tool do you use to display the code in the video? I have a presentation to do and would like to use something similar.