I solved 541 Leetcode problems. But you need only 150.

Поділитися
Вставка
  • Опубліковано 14 жов 2022
  • 1. How to use Leetcode effectively?
    2. How to learn Data Structures and Algorithms?
    3. How to use Leetcode solutions?
    4. Whether to use Python for Leetcode?
    5. How to crack coding interview?
    I will answer all these questions in this video.
    ► FREE resources:
    1. Leetcode Top Interview Questions (150 Problems) - UPDATED: leetcode.com/studyplan/top-in...
    2. Selective attention test: • selective attention test
    ► For more content like this, subscribe to our channel: / powercouple26
    ► Follow us on Linkedin:
    / gabag26
    / sarrabounouh
    ► Let's be FRIENDS! / power_couple26
    ► For business inquiries, reach us on: powercouplejourney@gmail.com
    #datastructures #datastructuresandalgorithms #leetcode #codinginterview
    DISCLAIMER: All opinions shared on this channel are our own and don't express views or opinions of our employers. We only use our experiences and public knowledge to make our content. NO CONFIDENTIAL INFORMATION of our employers is used or shared on this channel. This is not a Professional Coaching channel, it only highlights the public resources that have worked for our careers.
  • Наука та технологія

КОМЕНТАРІ • 1,2 тис.

  • @skviknesh
    @skviknesh Рік тому +1839

    For i in range(0, 1000): 😘😘😘

  • @kellyd2973
    @kellyd2973 Рік тому +279

    The humor in this video is top tier and the fact that you’re delivering it with a straight face makes it even better

  • @malikau917
    @malikau917 Рік тому +3418

    “If you didn’t do it in one hour - Stop solving and check how others solved this” this is the best advice on this topic for me!

    • @sahilandsarra
      @sahilandsarra  Рік тому +272

      It took me many months to realize this.

    • @arunk2710
      @arunk2710 Рік тому +158

      That's right. Trying to figure out the solution on your own by spending too many hours is not worth it.
      I only spend 30 minutes on an average problem and then start searching for hints on Google.
      Please don't look at the solution yet.
      If you can't figure it out in 1 or 2 hours, start looking for solutions.
      Try to understand them well and choose the best one.
      Don't just copy and paste the answer. You'll gain little to nothing.

    • @thawfeeqjamaal1777
      @thawfeeqjamaal1777 Рік тому +29

      or leave it and try another one, sleep on the one that you couldn't solve.

    • @johndewey6405
      @johndewey6405 Рік тому +14

      Well, i just check how other solved it if i can't solve it in 10 minutes hahaha

    • @abhimn7856
      @abhimn7856 Рік тому +5

      @@sahilandsarra please.. I need to know. I almost solved this in about 2 hours. The last test case timed out. If I practise enough will I be a decent developer. I'm constantly afraid I'm being overpaid.

  • @divyanshmishra5121
    @divyanshmishra5121 11 місяців тому +144

    SUMMARY:
    • Solve all 37 easy problems first and then move to medium and then difficult in the 150 top interview problems
    • First try to think about the solution and then jumping into coding part. In interviews coding rarely takes 15 minutes of time but major part goes in thinking. It may take 100 questions to practice this or 500 for some.
    • In interviews you are given 45 minutes to solve a question so even in practise, if you are not close to the solution in 1 hour then see the solution
    • Check atleast top 3 solution by sorting by most votes because sometimes the top solution is not practical for the interviews.
    • Try to understand the solution instead of memorizing it
    • And go to the editor, try to write the solution on your own ,even if it is the exact same code that you just read and then re-do it after few days completely on your own
    • Even if you did the question on your own, go read the others’ solutions to find an optimized solution. ( In sir’s opinion, if you wrote more than 20 lines of code for a question then there is a possibility of better existing solutions)
    • If you can solve a medium leetcode problems in 30-35 minutes then you are ready to go as mostly coding interviews are 45 minutes long and you are given a medium level question from pov of leetcode.

    • @kiaa459
      @kiaa459 15 днів тому

      Thanks for your efforts

  • @aishwaryshukla8880
    @aishwaryshukla8880 Рік тому +37

    The key takeaway for me in this video is to think first about the solution approach and then think how to code. Although I know this, and I try to think of an approach before coding, I still end up thinking about how I will code. This video was a reminder about keep focusing on the approach first. I am a beginner coder, and it gives me immense relief to hear from you that with practice, I'll be able to differentiate between the two. Thanks for this gem of a video! Saving it 🙏🏻

  • @SiimKoger
    @SiimKoger Рік тому +355

    It took me quite a few years to slowly accept the fact that if you really want to learn something deeply then you have to swallow your ego and start from the beginning; and to undertand that it's gonna take time, at least months if not years, so don't beat yourself up for feeling stupid.
    So simple idea but in today's fast-paced world one might get frustrated with even the smallest of failures.
    Keep going. In 10 years it doesn't matter if it took you 3 months or a year to ace a coding interview (or whateber you're working on).

    • @sahilandsarra
      @sahilandsarra  Рік тому +26

      Most people think short term. Thanks for sharing your wisdom. We need it 👍

    • @viky293
      @viky293 Рік тому +5

      so true, the world of instant gratification is making it harder for people to really invest in themselves.

    • @jathebest2835
      @jathebest2835 Рік тому +1

      @@viky293 True. It is why parents need to teach kids to read good qualities of books, debate skills with others, analyze our society and social issues, Math and English, etc. In the era of Tickok and Instagram, many young people are eager for something instant and pleasant. However, in the programming world, it doesn't work at all. We constantly need to learn from others, correct ourselves, and think deeply.. Hardship wins..

    • @xolo2617
      @xolo2617 8 місяців тому

      I spent 1+ years and solved 600 still I feel stupid

    • @ricardo5460
      @ricardo5460 4 місяці тому

      spot on. Ego is the #1 enemy at the beginning

  • @jejejeje4491
    @jejejeje4491 Рік тому +472

    What set your content apart is your honesty. Everything you said make sense unlike other UA-camrs. Keep it up ❤

    • @nayan3979
      @nayan3979 Рік тому +4

      YEAH u r right..

    • @sahilandsarra
      @sahilandsarra  Рік тому +7

      Thanks ❤️

    • @hjtvgfhjtghvfg5919
      @hjtvgfhjtghvfg5919 Рік тому +2

      Its just hard to believe that you actually sat there for six hours trying to figure out this simple problem. And additionally didnt even understood the solution after a hour.

    • @muzaff
      @muzaff Рік тому +2

      Agreed

    • @TheSoulCrisis
      @TheSoulCrisis Рік тому +2

      @@hjtvgfhjtghvfg5919 Nothing is hard about it when you don't understand it, in terms of code for beginners especially this is true.

  • @thejavachip
    @thejavachip Рік тому +645

    This is what most of us need, not the person who always knew what is the path and what needs to be done, but the person who was left alone in the darkness and had to struggle to find the path to the victory.
    I can totally relate with you I am in the same struggling phase as you were in the beginning of your journey. Every time I watch you I feel like if he can do it I can do it too.

    • @sahilandsarra
      @sahilandsarra  Рік тому +48

      Thanks Ritik. Struggle when done right is very important to grow. Only time I grew in life was during my struggle phases. Good luck Struggling 👍

    • @cherianafreen7528
      @cherianafreen7528 Рік тому +2

      क्या आप अधिक विस्तार से उत्तर दे सकते हैं?

    • @fan-tastic3454
      @fan-tastic3454 Рік тому

      Relatable

    • @UnknownSend3r
      @UnknownSend3r Рік тому +1

      How you doing now in your journey ?

    • @sarazahoor9133
      @sarazahoor9133 Рік тому +2

      But the person who was left alone in the darkness and had to struggle to find the path…
      These words hit hard atm…

  • @norvusordoseclorum
    @norvusordoseclorum Рік тому +48

    I think one of the reasons people love your content is because you are so honest about your journey

  • @yashnegi9473
    @yashnegi9473 Рік тому +16

    I always hated coding but not slowly slowly building habits to learn it in an enjoyable way and then also seeing your videos so I don't lose hope. Maybe today is not my time to shine but tomorrow will be. Never lose hope. Keep making videos.

  • @ahmedmaaz4390
    @ahmedmaaz4390 Рік тому +11

    This is the video that gave me the courage to start with the dreaded leetcode. This video had everything I needed. I finally have a game plan. Thanks a lot.

  • @generalsourabh5809
    @generalsourabh5809 Рік тому +16

    i am reALLY SUPRISED how he softly and clearly spoke everything. i really liked the way he explained and I can relate this 100%

  • @jamjam3448
    @jamjam3448 Рік тому +36

    Yes! I spent even days on just a single question just because I felt so bad I couldn't solve. For most, I eventually solve them but with worse time and space complexities. Thanks so much for your advice!

  • @ricardo5460
    @ricardo5460 4 місяці тому +8

    It is really surprising to realize how we all started in the same place. I remember struggling with even the first coding challenge and thinking whether there was something wrong with spending hours on the easiest problem and still not even understanding it. Today I can confidently say I have progressed a lot as a programmer, but videos like this help beginners to set realistic expectations and to continue pushing forward

  • @wisdomkhan
    @wisdomkhan Рік тому +2

    What a superb video. This is the first guide on DSA that I find relatable and sensible.

  • @nikhilsahni8574
    @nikhilsahni8574 Рік тому +2

    That's the strategy I was seeking most of the time. Thank you for this 😇

  • @ryankhart
    @ryankhart Рік тому +4

    lol I relate so much with that story in the beginning! I felt so bad about myself that I put off applying for an internship for 2+ years after I've already done all of my coursework for my Bachelor's degree, essentially dropping out.
    It seemed to start when the only success stories that I ever heard from other students were that they had to submit over 200 applications before finally getting a response, and they already had a few substantial personal projects in their portfolio. Plus, they could solve these coding interview questions in 15 minutes for what would take me 6 hours.
    Then I went to one of the in-person college presentation events and saw more capstones and internships that sound like something I could do than those that went over my head. Maybe it's just that those students aren't generally going around humble bragging to their friends in the room nearby to me. I don't even want to work for a FAANG company anyway. I want to have a healthy work life balance.

    • @BobbyFisaher
      @BobbyFisaher Рік тому

      Idk what you going through, but keep working

  • @abdulmuqtadir8898
    @abdulmuqtadir8898 Рік тому +46

    You're godsend. I made my first leetcode submission today and you drop this ♥️

    • @sahilandsarra
      @sahilandsarra  Рік тому +1

      This is such a perfect timing Abdul! Good luck 👍

    • @HomeremediesDG
      @HomeremediesDG Рік тому

      @@sahilandsarra do i practice codechef ?

  • @ankitkumarjain8896
    @ankitkumarjain8896 10 місяців тому +1

    I am so happy to have stumbled upon your channel. Your suggestions are awesome and you sound so genuine. Thanks

  • @_pro_grammer_
    @_pro_grammer_ Рік тому +161

    Finally, was waiting for this video...
    "I recommend that if you are solving a problem which is outside these 150 problems, make sure that it’s your 151st problem." - the most importent point
    Always find excellent strategies in your content,
    Really love your inspirations💙💙💙

    • @sahilandsarra
      @sahilandsarra  Рік тому +2

      Thanks Rafiul ❤️

    • @Icelander00
      @Icelander00 Рік тому +1

      Where are these 150 problem can you give me the list please

    • @skystar3
      @skystar3 Рік тому

      @@Icelander00 Yes, can you give us the list please? that's very useful, we are really appreciate your hard work

    • @Icelander00
      @Icelander00 Рік тому +1

      @@skystar3 go to leetcode link given in description

    • @skystar3
      @skystar3 Рік тому

      @@Icelander00 Thank you :)

  • @MrDrNits
    @MrDrNits 11 місяців тому +6

    I'm just now starting to prep for interviews later this year and hearing your journey is so similar to mine is really comforting. This is a great video, gonna give it a try! Thanks!

  • @MrFuture07
    @MrFuture07 Рік тому +18

    Best tutorial till date, its been years since I'm stuck with these languages and couldn't get a job but now I'm motivated again and sure that I'll bag one soon by following your routine practices.. thank you very much for this heck of a gem

  • @jefferychen8330
    @jefferychen8330 Рік тому +1

    Exactly the THREE mistakes I'm taking currently! Lucky enough to be a beginner and see your video. Thanks!

  • @ryancraigdavis
    @ryancraigdavis 9 місяців тому +2

    I don’t often comment on videos but this was the perfect advice. I’ve had the same issues with trying to practice and this just makes sense. I’m acruelly excited to start studying again!

  • @NehaKumari-ge8wm
    @NehaKumari-ge8wm Рік тому +10

    Lucky enough to get this video as a recommendation in my YT feed!! You're amazing...You changed my approach of solving a problem..
    I have been struggling in coding interviews..they are extremely depressing now... I hope I would see some positive changes after following your guidance..thank you so much🥺❤

    • @sahilandsarra
      @sahilandsarra  Рік тому +2

      Good luck Neha 👍

    • @NehaKumari-ge8wm
      @NehaKumari-ge8wm Рік тому

      @@sahilandsarra Thanku sir!

    • @daredevl6657
      @daredevl6657 8 місяців тому

      ​@@sahilandsarraTo crack faang interviews, should i choose C++ or Python or Java. I know python basics and love it. Doing leetcode problems in Python will help or should i focus on C++/Java?

  • @ragesh8939
    @ragesh8939 Рік тому +12

    Your video quality is so amazing brother especially the way of conveying the message

  • @MrDaniyalAh
    @MrDaniyalAh Рік тому +39

    You are the only honest UA-cam speaker who gives actually useful advice. I have been loving your videos, going to watch all of them soon. Love from Pakistan

  • @ninoe9124
    @ninoe9124 Рік тому +3

    Currently in my course I started 5 weeks ago and I'm having trouble learning Java in this time span. I know it takes time to learn, however having these assignments and due dates really effect my learning, being a slow learner. I've lost motivation but I will keep going

  • @devkailay3046
    @devkailay3046 Рік тому +3

    Thanks a tonne for keeping your promise as always by bringing up this video.... Appreciated

  • @mohtasimb62
    @mohtasimb62 Рік тому +9

    Excellent video! Keep it coming and never stop! You are what we need.
    A simple question. Coming from your Data Structures video which was your last video, you mentioned to take the free course by Coursera. I remember you mentioned that just Algorithm 1 is enough. So, can we start doing leetcode questions after finishing Algorithm 1?

    • @sahilandsarra
      @sahilandsarra  Рік тому +2

      Thanks! You need parts of Algorithms 2 like I mentioned in my DSA video.

    • @mohtasimb62
      @mohtasimb62 Рік тому

      @@sahilandsarra Got it! Thanks!

  • @pranavbhat92
    @pranavbhat92 4 місяці тому +1

    Thank you so much for this video. I'm in a situation where I have the IT industry experience of a decade but very bad at solving Leetcode problems. I was overwhelmed when I started to learn. I almost went into depression thinking I have made a very big mistake in my life by not keeping in touch with DSA. But, I have started to code 1 easy Leetcode problem everyday since this week. I hope I will be able to make some progress where I get some confidence that is expected out of my experience level.

  • @JoseFlores-hk1xd
    @JoseFlores-hk1xd Рік тому +1

    Straight to the point. Great video! Glad I found you!

  • @jasonwee7580
    @jasonwee7580 11 місяців тому +4

    Thanks for the tips, I think one important point you missed about practicing is to go back to the problem after a few days to make sure you grasp the concept. And progressively increase the time since you last did it.

  • @pranamjshetty9658
    @pranamjshetty9658 Рік тому +14

    Thank you bro.. I asked you to make video on leetcode preparation in previous video 👍🤝❤️

    • @sahilandsarra
      @sahilandsarra  Рік тому +1

      And I hope this video was helpful, Pranam!

  • @Hytpu9
    @Hytpu9 Рік тому +3

    I'm actually in the process of preparation for big tech and this video gives me really good advice. Thanks you my friend.

  • @i.am.special
    @i.am.special Рік тому +3

    I cannot believe that it actually happened. I was thinking for a couple of days about what will be the best approach for solving problems on a recently bought course from Algoexpert. I was wondering about asking the creators of the course about the approach. Then I accidentally opened this video coz the title sounds interesting to me. I was looking for copper, but I found gold. Sharing your experience is nothing but amazing, I believe you helped a lot of future interviewees like me by publishing this video. So I wanna say - thank you!

    • @sahilandsarra
      @sahilandsarra  Рік тому

      I’m glad you found the video helpful. Thanks 🙏

  • @dartm0
    @dartm0 Рік тому +1

    I love this, I have been looking for a clear path on how to prepare. Thanks a lot

  • @AmitKumar-ln6pl
    @AmitKumar-ln6pl Рік тому +1

    The best content for someone who is changing his/her career to programming from something from non coding

    • @sahilandsarra
      @sahilandsarra  Рік тому +1

      I’m happy you found it useful. 😁

    • @AmitKumar-ln6pl
      @AmitKumar-ln6pl Рік тому

      @@sahilandsarra you i am an agronomist trying to shift to programming wasted 6months and all my savings around 80k but your video made me realise like how dumb i was. But yeah i can start it in a proper way.

  • @ryankhart
    @ryankhart Рік тому +12

    Weirdly enough, I've encountered some medium problems that were easier than easy problems. And I've tried some easy problems that utterly stumped me.

  • @tejp33
    @tejp33 Рік тому +5

    very important information you are posting but in reality it is difficult to do all this without determination. Big thank you for all your effort.

    • @sahilandsarra
      @sahilandsarra  Рік тому +1

      That’s right! Good things don’t come easy because everybody wants to have them.

    • @tejp33
      @tejp33 Рік тому

      @@sahilandsarra yes you are right Sir & again hats off to your work!!

  • @rhimanshu6288
    @rhimanshu6288 11 місяців тому

    No bragging...direct to the point explanations👍🏻

  • @waffle8364
    @waffle8364 8 місяців тому

    I only did leetcode in college and honestly it's great to eval more junior level devs but seniors or even mid level are going to be doing much different kinds of problems

  • @shanmukhasrinivas4883
    @shanmukhasrinivas4883 Рік тому +22

    Hi guys...your content is amazing..i am following your steps seriously.. went through Algorithmic Part 1 Series by Robert Sedgewick .. started with solving the percolate problem and failed miserably. Then started listening his lecture on Dynamic Complexity and found it really interesting.... way more to go into the deeper insights of the course.. thanks for letting us know about great Content...

    • @sahilandsarra
      @sahilandsarra  Рік тому

      Great to see your progress, Shanmukha. Good luck 👍

    • @tushar3549
      @tushar3549 Рік тому

      @@sahilandsarra :)

    • @shanmukhasrinivas4883
      @shanmukhasrinivas4883 Рік тому +1

      @@sahilandsarra Hi Guys!! Wanted to update my progress
      1. Learnt OOPS concepts in Java Programing as i wanted to explore core syntax experience.
      2. Followed online edition of sedwick and solved intresting coding challenges daily and now comfortable with java.
      3. Got deeper insight of inheritance, Polymorphysims, Encapsulations and exception Handling through HeadFirst Series
      4. Started Practising Leetode EASY ARRAY PRBLEMS status 5/~2000
      Waiting for your videos of learning intersting stuff

    • @aadhil9270
      @aadhil9270 Рік тому

      @@shanmukhasrinivas4883 well done bro..

  • @sarav-Frontend_Engineer
    @sarav-Frontend_Engineer Рік тому +3

    Sharing your experience at the right time helps us a lot, keep going. I always support you.

  • @kshitijbhadale
    @kshitijbhadale Рік тому +2

    Sir, I've watched so many videos but this one was the best so far! thanks man!

  • @mohn8643
    @mohn8643 Рік тому

    This might be the best video on how should one practice for interviews

  • @maniksingh92
    @maniksingh92 Рік тому +7

    TLDW; Algorithm:
    0. Sort problems by difficulty level
    1. Start solving new unsolved problem from lowest difficulty
    2. IF solved OR (NOT solved AND time spent >= 1 hour): view best solutions
    3. IF NOT solved: solve with reference of the above best solutions
    4. IF new unsolved problem exists: repeat from step 1

  • @ayushihasija5077
    @ayushihasija5077 Рік тому +3

    even if you're starting your career or in the middle of it, no matter wherever you are, they ask you ds questions at every stage and this is by far the best answers you gave to the questions I had in my mind. Thanks

  • @hashimmaniyar7702
    @hashimmaniyar7702 Рік тому +1

    i love how calmly you explained each and every mistake and how to overcome them thanks alot got a ton of knowledge from you

  • @irete267
    @irete267 Рік тому

    Amazing video. I was just about to start using leetcode and this was what I needed

  • @lovkush5257
    @lovkush5257 Рік тому +3

    Love no waiting time and be authentic...great content

  • @aniruddhsingh5280
    @aniruddhsingh5280 Рік тому +3

    This video is a gem 💎 . Crisp and practical

  • @yashpreet4103
    @yashpreet4103 Рік тому +1

    Thank you ❤️ for sharing your experience.
    Good luck for your future .
    Keep moving forward ⏩👨‍💻.

  • @theyellowflash100
    @theyellowflash100 Рік тому +2

    Hey Sahil, thank you so much for making this video. Really appreciate it

  • @ajinxRGB
    @ajinxRGB Рік тому +19

    very honest and amazing video !! totally relatable . On Leet Code, If we want to sort the easy problems further we can sort by acceptance % column, this helps a lot if you are beginner.

  • @saptarshirajsinha1140
    @saptarshirajsinha1140 Рік тому +3

    Been following a routine like this for last 2 months but i also make sure to solve one CP problem from codefoces in 1200-1800 range each day and in just 2 months i can tackle 2/3 medium level problems by myself

    • @sahilandsarra
      @sahilandsarra  Рік тому

      That’s great progress in 2 months. Good luck 👍

  • @anonymous_basics
    @anonymous_basics Рік тому

    i don't know much about coding but the advice he is giving we can apply it on anything.thanks to you i now realized something.

  • @JohnAlamina
    @JohnAlamina 11 місяців тому

    Everything you say makes perfect sense! Thankyou!

  • @harshkulkarni8713
    @harshkulkarni8713 Рік тому +3

    Great to have guidance like you 😍

  • @akasharthanur3057
    @akasharthanur3057 Рік тому +3

    Great video Sahil. You have been a great inspiration to me... Keep your work on... And keep motivating others also.

  • @GerryStilton
    @GerryStilton 8 місяців тому

    Thanks for making the video and sharing the advise. It was very helpful. I found you might need to have the mic closer to you, your voice was a bit low and I hand to crank it up to hear you. Just a suggestion. Keep up the good work.

  • @varshakaverappa668
    @varshakaverappa668 Рік тому +1

    I love the subtle humor in this video. Great advice ! approaching the medium problems on leetcode is a common mistake I did too

  • @sahil_r_shinde
    @sahil_r_shinde Рік тому +52

    If you cannot solve a problem, you feel sad. But if your friend solves the exact same problem in under 15 minutes, you are heartbroken.
    Dude just won me over in that one sentence 😂👌❤️

  • @karnaghose4784
    @karnaghose4784 Рік тому +6

    We really appreciate making this vlog. I have a small request. What if you guys make a video about a list of impactful open-source projects that can get us a MAANG interview or how to choose remarkable projects to get interviews?

    • @sahilandsarra
      @sahilandsarra  Рік тому +1

      That’s a great idea Karna! We’ll keep it in mind for our next videos 😊

  • @cameronfife8757
    @cameronfife8757 Рік тому +1

    Thanks, this advice is really helpful tbh. I have had a couple of problems that maybe it takes me 3/4 hours on, and it kinda made me feel stuck about where to go.

  • @wew8820
    @wew8820 4 місяці тому

    when thinking of the solution "forget you know how to code". thank you, this just unlocked my brain!

  • @WhosShamouz
    @WhosShamouz Рік тому +4

    Amazing tips! I would like to share another one: sort by acceptance rate for the easiest problems!
    Btw. video production quality went up a lot 😮

  • @ArcGaming07YT
    @ArcGaming07YT Рік тому +9

    currently i have solved exactly 150 problems ,but they are random,
    my suggestion : its different for everyone some get good at only 150, but for me i have set target of 1000 because i am from tier 3 and i am not as fast as these youtubers and there is no one ready to give me referral if i solve only 150 probs and also for me to become confident i have set atleast 1000 as goal, hope you all are doing good 😊

    • @sahilandsarra
      @sahilandsarra  Рік тому +1

      I talked about that at end of the video. Thanks for sharing.

  • @Manatoro
    @Manatoro Місяць тому

    Thanks for sharing man. I appreciate a lot this video!

  • @vidishasinghal7732
    @vidishasinghal7732 Рік тому

    Thanku so much for guiding 🙇‍♀️
    This is really helping me out .
    I usually waste 1-2 days in solving a single problem which wasted my lot of time and because of that I am not able to concentrate on other subjects .
    Thanks 😊

  • @mCKyQ5sAp974
    @mCKyQ5sAp974 Рік тому +18

    As a senior engineer who has also spent lots of time practicing on LeetCode, These are really really good tips. Nice sharing.

  • @scruffymakaveli6870
    @scruffymakaveli6870 Рік тому +67

    Mathematicians spend the bare minimum learning a concept and spend most of their time solving problems. They "train" for speed and familiarity. If they can't solve a problem in 15 minutes, they immediately look up the solution. That's why so many mathematicians become great programmers.

    • @sahilandsarra
      @sahilandsarra  Рік тому +4

      I didn’t know this. Thanks for sharing 🙏

    • @user-wv3lk4jt9p
      @user-wv3lk4jt9p Рік тому +5

      ... what type of mathematicians are you talking about?

    • @mrigankyadav8953
      @mrigankyadav8953 Рік тому +1

      Lol! Not even close to being true. No serious mathematician "trains" for speed. Serious mathematicians do the opposite of this stupid statement - "Mathematicians spend the bare minimum learning a concept".

    • @MrCmon113
      @MrCmon113 7 місяців тому

      Look up the solution where?
      Mathematicians are finding those solutions by working on them for far longer than 15minutes.
      Also:
      1) You never heard about mathematicians that don't become "great programmers".
      2) Mathematicians are already preselected for the most intelligent and/or diligent people.

  • @vritansh14
    @vritansh14 Рік тому +1

    One of the most honest reviews I've ever seen. The "ego" part hits hard.

  • @ShahriarAhmedShovon
    @ShahriarAhmedShovon Рік тому +1

    I will call you "The Honest Bro". Man! Watched 2 videos and subscribed. Thanks a lot.

  • @Healthaholics
    @Healthaholics Рік тому +3

    Which language will be best for me as a beginner java or c++ ? I don't have any idea about coding or programming or language . I admitted in a collage in Information Technology branch recently . please suggest me 🙏

  • @surajst109
    @surajst109 Рік тому +3

    Are you a human or robot..? Give some expression like sad, surprised, happy

  • @natejames11
    @natejames11 Рік тому

    I am curious about coding and I might start learning soon for fun this video was very good thank you for the insight.

  • @ishansharma4276
    @ishansharma4276 Рік тому +1

    Dude!! mind blowing content 🙏 this is good karma, you'll be blessed!

    • @sahilandsarra
      @sahilandsarra  Рік тому +1

      Thanks Ishan 🙏

    • @ishansharma4276
      @ishansharma4276 Рік тому

      @@sahilandsarraabsolutely!! can you let us know how to crack systems design interview as well?

  • @vinaypatil8009
    @vinaypatil8009 Рік тому +3

    You are the on point and straight forward to the topic person and the best quality of your.
    So request if you have time can you please start 1 JAVA programming series which covers all topics from beginner level to advance level and DSA.
    Thanks for everything ❤️😊

    • @sahilandsarra
      @sahilandsarra  Рік тому +2

      Thanks! Making a good series is very time consuming and I don’t think it will help if I make “just another series”.

    • @vinaypatil8009
      @vinaypatil8009 Рік тому

      @@sahilandsarra okay sir no problem 👍🏽😊

  • @wartem
    @wartem Рік тому +3

    I'd say it's easy to waste time on problem solving and not training your programming skills efficiently. I try to avoid hard questions since there's a huge risk the time will not be spent efficiently.
    Most of the time should be spent on projects if your goal is to learn programming.

    • @sahilandsarra
      @sahilandsarra  Рік тому

      Thanks for sharing your thoughts 👍

    • @MrCmon113
      @MrCmon113 7 місяців тому +1

      Bingo.
      Most of programming is not about making some specific operation a little more efficient by using several pointers, maps and linear algebra, but about writing code that fits into larger programs, fits edge cases and is easy to understand and change.

  • @jagpatsingh938
    @jagpatsingh938 Рік тому +1

    Cool video @Sahil bro !!
    discovered your channel today, good work man ! Keep it up 🤟🤟

  • @jeetsuchak6377
    @jeetsuchak6377 Рік тому +2

    one of the most awaited video....🙌🙌...learned a lot from this ...thanks Sahil🙏

  • @valentinpopescu6704
    @valentinpopescu6704 Рік тому +7

    This video should be a manifesto. I should watch this for the next 6 months every week until I land a job at FAANG.
    I mean, you answered a series of very important questions:
    - How many leetcode problems you need to get good at DSA? 150.
    - How to solve a leetcode problem? First think and talk about it and then code it.
    - How do you think about solving the problem, if not code-like? Think about it logically, in general concepts.
    - How long should you try to figure out the problem? Try to solve it in 45m-1h. Best to do it in 30-35m.
    - What if you can't solve it in the given time? Read the best 3 leetcode solutions, if not so.
    - What if you can solve it? Still read the best 3 solutions, because your solution might not be optimal.
    Thanks for the video. You managed to answer all these questions in a little over 7 and a half minutes. I really liked it!

  • @b2r803
    @b2r803 Рік тому +3

    Sir,I am asking silly doubt but i hope you will answer me .
    Currently I am learning DP and my on campus placement season will start from July 2023 .Can i master DSA for Campus placement till July? I am from tier one College (one of the top NIT)where many companies visits.

    • @sahilandsarra
      @sahilandsarra  Рік тому

      There’s no fixed timeline for it. Different people take different time.

  • @haraldcarlsten6238
    @haraldcarlsten6238 Рік тому

    Great great video! Exactly what I needed right now!👍

  • @osantinello
    @osantinello Рік тому +1

    BROTHER, YOU ARE THE BEST!!! You oooh really helped me!! THANK YOU VERY MUCH!

  • @YashM1234
    @YashM1234 Рік тому +2

    I like the way the content was delivered, others just try to sell it without supportive args..

  • @akhilyerrapragada62
    @akhilyerrapragada62 Рік тому +1

    My man, to point, loved it!

  • @WoodlandsAway10
    @WoodlandsAway10 7 місяців тому

    06:02 my biggest insight from the video - after understanding the solution, the most important thing is to write up the solution from scratch by myself. I will put this into practice. Thanks!

  • @beastking1646
    @beastking1646 Рік тому +1

    There is clarity in your content. Good keep it up. Also if I completely skip leetcode part what else should I do to become good in programming and get good job

    • @sahilandsarra
      @sahilandsarra  Рік тому

      I have already covered this in other videos.

  • @rajkumararora7366
    @rajkumararora7366 5 місяців тому

    Thanks for sharing ur luggage experiences and knowledge. Appreciated 🙏

  • @CSTutorCenter
    @CSTutorCenter 6 місяців тому

    agree that 150 is good to cover all the patterns. more is always helpful to perform better to get a higher compensation offer.

  • @driptanil8332
    @driptanil8332 Рік тому

    Love ❤ you sir you gave the right advice at the right time. I just starting DSA... ❤❤❤

  • @doanthanh7025
    @doanthanh7025 7 місяців тому

    thank you for your videos. They are very useful.

  • @braindeadcow7346
    @braindeadcow7346 8 місяців тому

    Grind 169 really helped me. I used Neetcode 150 to test myself without skipping the ones I already did.
    What’s really important is your thought process. For harder questions your not going to magically come up with a solution. Learn how to derive results with your arsenal of algorithms you learnt.

  • @afridiwhatever6220
    @afridiwhatever6220 Рік тому +1

    Your content is brilliant!

  • @isfirdavs
    @isfirdavs Рік тому

    Firstly solve everythign on paper, come up with a full solution, then interpret it to code!!! - The best advice that helped!!!
    Along with all the rest!!!🤩😍😘

  • @mikedelta658
    @mikedelta658 Рік тому +2

    Thanks Dear for your honesty and sharing such a wonderful advise.

  • @jaanvirathore1850
    @jaanvirathore1850 8 місяців тому

    Bro how calmly you are talking.. superbly amazing 🎉

  • @iofirag
    @iofirag Рік тому

    thank you for your video. i not junior developer, so i think i know how to prepare. but your video show me why i everytime tired from continue solving. and in most, show me what i have done wrong. so i coming back to the easy questions again. and see how it's build piece by piece, and how one question prepare you to the next question. so i cannot jump immediately to the medium questions before i done all the steps before. and more important thing is to stop my ego for trying to solve questions 4 hours, and look at the discussions for learn. so thank you! :)