541 Leetcode problems are NOT enough.

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ส.ค. 2024
  • Try my free email crash course to crush technical interviews: instabyte.io/
    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. KPIs and OKRs: www.whatmatter...
    ► 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.

ความคิดเห็น • 140

  • @sahilandsarra
    @sahilandsarra  24 วันที่ผ่านมา +1

    Try my free email crash course to crush technical interviews: instabyte.io/

  • @divyanshmishra5121
    @divyanshmishra5121 ปีที่แล้ว +52

    SUMMARY:
    1.Clean codes. (fizz buzz code example) Stay away from one line codes. Always think about readability and maintainability of the code
    2. Clarity of thinking and communication. First think of the solution, communicate this to the interviewer and then start writing the code. (merging interval example). Explain the solution using English(not code) and if necessary then use Maths or write some test cases to explain
    3. Take pauses and address any question that interview asks. Many times interviewer tries to help you by asking questions so pay attention and be mentally present. Being mentally present also helps if you get some error in the code. Rather than making random changes in the code or copying the error msg on the google, try to read the error message and debug on your own. Debugging the code smartly leaves a good impression on the interviwers
    4.Explain your projects using What (summary and motive), how(challenges and scope) and impact (key matric)

  • @sidandhawa
    @sidandhawa ปีที่แล้ว +58

    That alternative fizzbuzz was something I have never thought of. I really enjoy your channel and I am learning so much 😊😊

  • @etorty_dev
    @etorty_dev ปีที่แล้ว +43

    Great Stuff 🤩
    Clarity of thinking X Clarity of Communication X Clarity of code == Deadly combo to ace NOT just your interviews but your dev career as well. Thanks a million for this video. 🙏

    • @sahilandsarra
      @sahilandsarra  ปีที่แล้ว +2

      Thanks Emmanuel.

    • @NguyenNguyen-lm7dp
      @NguyenNguyen-lm7dp ปีที่แล้ว +1

      This deadly combo is not only for dev career, it's a must have combo for every other careers as well

    • @etorty_dev
      @etorty_dev ปีที่แล้ว

      @@NguyenNguyen-lm7dp 💯

  • @pauljiang5378
    @pauljiang5378 ปีที่แล้ว +73

    Agreed. I can't even do medium with ease and I got one of the FAANG offer. Even after I started working for them, my mentor told me Leetcode means nothing. He said during his time with the company, he has never written a single for loop, nor has he ever considered time complexity. If you work in a big company, it's very rare that you have to write something new. It's more about copying and pasting code to the right place and make the code better, easier to read, and generally less complicated and cleaner.

    • @joao15122000
      @joao15122000 ปีที่แล้ว +6

      Really? It goes against EVERYTHING I've been believing for the last months. They hired you, even you couldn't solve medium problems?

    • @pauljiang5378
      @pauljiang5378 ปีที่แล้ว +17

      @@joao15122000 well I can it's just the time I have to spend to solve them is definitely longer than an average compSci student would. I'm not even studying compSci or compEngineering. All I'm saying is that solving Leetcode problems doesn't single handedly give you the ability to ace the interview. During the interview I did code & talk why I wrote each line and why not the alternate way, and I guess that's why they hired me

    • @kshyr811
      @kshyr811 ปีที่แล้ว +2

      ​@@pauljiang5378 so weren't coding problems on interview still leetcode-like?

    • @MrKB_SSJ2
      @MrKB_SSJ2 ปีที่แล้ว +3

      What the hell? My plan is to give leetcode contests and get a top 1% rating on it. This will powerfully dominate my resume as compared to others. Added to this I have studied machine learning and data science in lockdown. Currently in my undergraduate time I am writing research papers and making heavy projects. Quite confident that this formula will working. Currently going to second year

    • @pauljiang5378
      @pauljiang5378 ปีที่แล้ว +3

      @@MrKB_SSJ2 nah I can guarantee you even the principal engineer in my team knows nothing about ML, even Python in general.

  • @user-mb2eg9fm1s
    @user-mb2eg9fm1s ปีที่แล้ว +75

    As an Indian, saying that your interviewer is very likely to have an accent like one, is such a power move. 😂

    • @tgayush1424
      @tgayush1424 10 หลายเดือนก่อน +1

      How to conquer then this issue?

  • @MaxShapira2real
    @MaxShapira2real ปีที่แล้ว +14

    If you make a course on Data Structures and Algorithms using Python, I'll be the first to buy it. Thanks for the great content!

  • @be1tube
    @be1tube ปีที่แล้ว +2

    3:13 Another way to think of the problem is as a pure sort where i1 < i2 if i1 comes completely before i2 and i1==i2 if they overlap. Then implement mergesort with the output of overlapped intervals being the merged version.

  • @pranjalgusain21
    @pranjalgusain21 ปีที่แล้ว +6

    “Your interviewer can have the same strong accent so I don’t recommend skipping video instead subscribe would serve you better.” WITH THAT STRAIGHT FACE! I’m ded!

    • @sahilandsarra
      @sahilandsarra  ปีที่แล้ว

      😂

    • @tasneemayham974
      @tasneemayham974 6 หลายเดือนก่อน

      HEHEHAAHHAHAHAHHA!!! I LAUGHEED OUT LOUD TOOO!! MY SIBLINGS THOUGHT: what's she laughing about?? That guy certainly doesn't look like he's saying a joke! ehheheee

  • @sumitaggarwal9477
    @sumitaggarwal9477 หลายเดือนก่อน

    "the is a good chance that your interviewer might have a similar accent as me"....very subtle

  • @spacetvbysubham874
    @spacetvbysubham874 ปีที่แล้ว +15

    Sir, you are my inspiration to become a software engineer....

  • @WebSurfingIsMyPastime
    @WebSurfingIsMyPastime หลายเดือนก่อน

    I’ve seen that fizzbuzz question many times and never thought about the intention behind the question. Now I see why it isn’t a trivial question.

  • @sondertt2220
    @sondertt2220 ปีที่แล้ว +3

    Yo Sahil, I just found your channel and I just wanted to say thank you for helping me and other people, who wish to pursue a coding career. Also, I wanted to say that you have the kind of voice that would be great for guided meditation videos.

  • @johnsoto7112
    @johnsoto7112 ปีที่แล้ว +3

    In the first example you can argue that concatenating makes this code slower depending on the language

    • @Kishor_D7
      @Kishor_D7 4 หลายเดือนก่อน +1

      S

  • @josefkaras7519
    @josefkaras7519 ปีที่แล้ว +2

    Consider new rule for the fizzbuzz function - if the number is divisible by 3 and 7 print "this is dumb" - in the code with 3 conditions you will just add another one. The "clean code" would have ro be rewritten from scratch. It is not a clean code - if you swap those two ifs, the output will get fucked. It is not a good code.

    • @K9Megahertz
      @K9Megahertz ปีที่แล้ว

      Eh you beat me to it. This code is not extendable and relies on a "hack" to work and yes, it would need to be completely rewritten from scratch if you wanted to change the behavior.

  • @shivikatripathi5010
    @shivikatripathi5010 ปีที่แล้ว +4

    Hi sahil, would you be able to launch a boot camp in DSA?

  • @larbesabdellah7079
    @larbesabdellah7079 ปีที่แล้ว +1

    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

  • @badasspandit1886
    @badasspandit1886 ปีที่แล้ว +3

    his energy level is definitely not enough to clear any interview

    • @tasneemayham974
      @tasneemayham974 6 หลายเดือนก่อน

      Quiet the opposite actually. Sahil is calm and speaks slowly and surely. I believe if we talk like him in an interview we will appear as if we already know the interviewer is going to choose us. His confidence conveys more than a person who speaks fast and is sort of on edge.

  • @stith_pragya
    @stith_pragya 3 หลายเดือนก่อน +1

    Thank You So Much for this wonderful video...............🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻

  • @mrwhosaini
    @mrwhosaini ปีที่แล้ว +2

    I hope you will answer this...
    What can I do if my workplace is not helping to write clean code? They are always after features / releases neck to neck
    Are there any tools or books or AI stuff which can help me write clean code??

    • @tasneemayham974
      @tasneemayham974 6 หลายเดือนก่อน

      I think the best way is to look at other people's solutions in LeetCode.

  • @unity3dconcepts434
    @unity3dconcepts434 ปีที่แล้ว

    As always... amazing video..... Love you bro... Love and respect from New Delhi (South Delhi)

  • @sujathareddyp9444
    @sujathareddyp9444 ปีที่แล้ว

    which institute best to learn professional English can you suggest me . bc the way of your pronunciation is excellent.

  • @cccc2740
    @cccc2740 ปีที่แล้ว +2

    I would rather spend my time on contributing to OSS or build some app of my own for mobile platforms

  • @zr0724
    @zr0724 2 หลายเดือนก่อน

    the code for fizzbuzz was okay i think , because if any of the (if) or (elif) condition satisfies , then other conditions will be skipped , right? this is how elif works i suppose.

  • @skunkmeat
    @skunkmeat ปีที่แล้ว +1

    really good information, exactly what I wanted from this video

  • @g_pazzini
    @g_pazzini 9 หลายเดือนก่อน

    this video encourages me for my interview next week… thanks 😊

  • @Itsme1n1ly
    @Itsme1n1ly ปีที่แล้ว +1

    Excellent eye-opening explanation ❤

  • @goddy510
    @goddy510 ปีที่แล้ว +1

    Thanks for your great content.

  • @jan5504
    @jan5504 ปีที่แล้ว +1

    Like chatgpt said to me: Do exercises and move up to do projects

  • @vedparkashgaba5478
    @vedparkashgaba5478 ปีที่แล้ว +1

    Very useful educational nice video content is also good

  • @abineshkumar3021
    @abineshkumar3021 ปีที่แล้ว

    I'm facing a problem can you please help me,
    I'm really unable understand what is the concept of tournament management
    i) right now I only know one language that is C
    ii) what are the inputs and outputs in this program
    iii) Is C enough for this or i should learn any other language

  • @ehanchowdhurysami4514
    @ehanchowdhurysami4514 ปีที่แล้ว

    Hi bro,
    I need some guidelines so I want to ask some questions. Is there any way to contact you regarding this topic?
    Thanks.
    Best wishes :)

  • @bicycleworld7049
    @bicycleworld7049 ปีที่แล้ว +1

    ❤❤❤❤Thanks for your very useful content

  • @-Corvo_Attano
    @-Corvo_Attano ปีที่แล้ว +1

    Informative video as usual❤

  • @adamrizk6735
    @adamrizk6735 ปีที่แล้ว

    Really insightful video, thanks for sharing

  • @Md_sadiq_Md
    @Md_sadiq_Md ปีที่แล้ว +1

    Pushing the algorithm

  • @amitkrishnagupta535
    @amitkrishnagupta535 ปีที่แล้ว

    thank you this video is very helpful..

  • @almousafir4041
    @almousafir4041 ปีที่แล้ว +1

    Great Content 👍

  • @ary_21
    @ary_21 ปีที่แล้ว +1

    I am unable to find out if an error is compiler error or run time error
    Also the guess the output pattern problems in assesment tests trouble me
    If any one can provide a resource to train n practice i will be glad!

  • @thechantoftamohara
    @thechantoftamohara ปีที่แล้ว +3

    At this point I don't think getting into Google Meta Amazon using DSA is the answer. Give or take 5 years down the line. They will remove DSA from tech interviews.

    • @BigBrother4Life
      @BigBrother4Life ปีที่แล้ว

      why?

    • @thechantoftamohara
      @thechantoftamohara ปีที่แล้ว +1

      @@BigBrother4Life DSA is barely used in industry at all. Unless you are developing a highly sophisticated game there is 0 use of DSA.

    • @amishbhadwa7104
      @amishbhadwa7104 ปีที่แล้ว

      @@thechantoftamohara but it helps to know about the problem solving of a candidate

    • @AntarikshRajkonwar
      @AntarikshRajkonwar ปีที่แล้ว

      ​@@thechantoftamohara then what is used in industry?

    • @Ashahar-cc4vb
      @Ashahar-cc4vb ปีที่แล้ว +4

      @@AntarikshRajkonwar You're looking at the situation from a different perspective. From the companies POV, DSA is a tool which they use primarily to test a candidates logic building, quick thinking and solution generating skills.
      Think of it the same way we give JEE to get into IIT's. A CS degree from an IIT might have 0 correlation to physics and chemistry that is asked in JEE exam but if a student has the capability to generate solutions for the question paper, he can very well also perform well in Computer Science

  • @shreypatel1685
    @shreypatel1685 ปีที่แล้ว

    Sir it will be great if you can make video on most important computer science subjects or topics to be understood to be good software engineer.🤓🤓🤓

  • @tsabudh
    @tsabudh ปีที่แล้ว

    Great content. You have got a new subscriber.

  • @prajwalm.s7976
    @prajwalm.s7976 ปีที่แล้ว

    No link to the video you told us to watch

  • @nadimpatel4964
    @nadimpatel4964 ปีที่แล้ว

    Really interesting im watching this, after having had this exact same question as a sample practise question on a coding assesment for a government job I applied to. Funny thing is, I was sitting with my brother whose a CS grad and been working as a software developer for several companies for nearly a decade. I wrote the code the first way and he explained me the same thing code efficiency issue which is being shown in the video. Funny thing is, when we ran the code the second way it failed a couple of test cases. When we ran it the first way it passed all of them :-). !!?!?

  • @DigvijaySingh-se2ll
    @DigvijaySingh-se2ll ปีที่แล้ว

    Please make a video on flow state and how to get into it

  • @saharsh_30
    @saharsh_30 ปีที่แล้ว

    Great Content 🔥

  • @yli8888
    @yli8888 10 หลายเดือนก่อน

    Hey your accent is perfectly understandable. Now try to understand my accent is more of a challenge😂

  • @aryangautam7506
    @aryangautam7506 ปีที่แล้ว +1

    Make a video on Impact part

  • @kirantechnophile7852
    @kirantechnophile7852 ปีที่แล้ว +2

    2:13 did you just miss putting the condition to print "fizzbuzz" ?

    • @saimahidhar9833
      @saimahidhar9833 ปีที่แล้ว +1

      no,it will work.if num is 15 then output would be "fizz+buzz" by both conditions

  • @rmyo4568
    @rmyo4568 ปีที่แล้ว

    sir your english is soo good can You make video on english learning

  • @venugopalvv915
    @venugopalvv915 ปีที่แล้ว

    Hiii sir could u tell me that what u do after 40+ age which is difficult to survive in IT

  • @JD-mr4nv
    @JD-mr4nv ปีที่แล้ว

    your support👏🏻

  • @bhupendralodhi7434
    @bhupendralodhi7434 ปีที่แล้ว

    Sir please guide me by mistake I choose biology after 10th

  • @Samandar-dev
    @Samandar-dev ปีที่แล้ว +2

    thank you

  • @anypoptoslol
    @anypoptoslol 7 หลายเดือนก่อน

    actually the fizzbuzz solution is kind of bad .logical equallity of two integers in this case is extremely fast.alocation of memory of an array?not so much .creating a concatenation is making useless one object already in memory and creating a new one .more memory and clock cycles.this is also a bit harder to read .Not all clever sollutions are actually smart.

  • @pianoman6216
    @pianoman6216 ปีที่แล้ว +1

    I see, the problem with the code is that it's in python, right?

  • @solarchat9413
    @solarchat9413 ปีที่แล้ว

    These are common things. I doubt anyone wont know this.

  • @devadhanushp.7359
    @devadhanushp.7359 ปีที่แล้ว

    bro do you really have a strong accent???????

  • @ShahMotivates
    @ShahMotivates ปีที่แล้ว

    Make a course on DSA.

  • @manoelramon8283
    @manoelramon8283 ปีที่แล้ว

    as a manager that worked at google and amazon, I would never hire a person that focus on leetcode. Leetcode is useless

  • @aribasiebel
    @aribasiebel ปีที่แล้ว

    Like all your videos.

  • @WinnerSingh
    @WinnerSingh ปีที่แล้ว

    So now we should spend less
    time
    On leetcode and more on code academy.

  • @D2_EFX_CORNER_1756
    @D2_EFX_CORNER_1756 ปีที่แล้ว +1

    malayali ano bro

  • @bhupendralodhi7434
    @bhupendralodhi7434 ปีที่แล้ว

    Sir in which subject have you passed in your 12th

    • @ritvikreddy3959
      @ritvikreddy3959 ปีที่แล้ว +1

      He went to an iit so it will be in Science(physics,chemistry,math)

  • @rahulroy463
    @rahulroy463 ปีที่แล้ว

    Will chatgpt take our job ???

  • @RitikKumar-bk6pj
    @RitikKumar-bk6pj ปีที่แล้ว

    People blame interviewer when we ate not able to do problem 😂😂😂😂
    Bhaiya please help How to approach problem when we stuck.

  • @vikasnishad6955
    @vikasnishad6955 ปีที่แล้ว

    Sir i am requested for you can you make this topic in hindi

  • @kirthanhegde7224
    @kirthanhegde7224 ปีที่แล้ว

    You lost me when you showed the Ghandi picture bro 😢..

  • @GameoverDood
    @GameoverDood ปีที่แล้ว

    542 problems it is...

  • @SAYANDAS-sf6hr
    @SAYANDAS-sf6hr ปีที่แล้ว +1

    Will AI replace software engineers in future??😢

  • @vinaygujjula8381
    @vinaygujjula8381 ปีที่แล้ว

    This time the video is not much as intresting

  • @randomboi637
    @randomboi637 ปีที่แล้ว

    And who are you actually ?

  • @mahammadhajiyev51
    @mahammadhajiyev51 ปีที่แล้ว

    He is talking like his child is sleeping and he does not make any noise

  • @GabrielKwakye-sb6fs
    @GabrielKwakye-sb6fs ปีที่แล้ว

    👍👍👍

  • @_pro_grammer_
    @_pro_grammer_ ปีที่แล้ว

    💙💙💙

  • @devopsjockey
    @devopsjockey ปีที่แล้ว +1

  • @tawkeer4
    @tawkeer4 ปีที่แล้ว

    I think only women have interviewed you because you use she for interviewer😂

  • @timlin1719
    @timlin1719 ปีที่แล้ว +1

    Compare to other Indian people, actually yours is easier to understand😂…but still a little fast😅

  • @syedsabihhussaini3910
    @syedsabihhussaini3910 ปีที่แล้ว

    why do you speak like this?

  • @ShivaSunkaranam-qx3jf
    @ShivaSunkaranam-qx3jf 11 หลายเดือนก่อน

    So fast. Not liked

  • @anshsahu1752
    @anshsahu1752 ปีที่แล้ว

    me who just came after solving 56. problem

  • @mick5719
    @mick5719 ปีที่แล้ว

    enthu