541 Leetcode problems are NOT enough.

Поделиться
HTML-код
  • Опубликовано: 24 ноя 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  3 месяца назад +2

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

  • @divyanshmishra5121
    @divyanshmishra5121 Год назад +53

    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 Год назад +59

    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 Год назад +45

    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 Год назад +18

      @@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 Год назад +4

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

  • @HarshGarg-d3c
    @HarshGarg-d3c Год назад +78

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

    • @tgayush1424
      @tgayush1424 Год назад +1

      How to conquer then this issue?

  • @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.

  • @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!

  • @WebSurfingIsMyPastime
    @WebSurfingIsMyPastime 4 месяца назад

    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.

  • @spacetvbysubham874
    @spacetvbysubham874 Год назад +15

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

  • @johnsoto7112
    @johnsoto7112 Год назад +3

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

  • @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 9 месяцев назад

      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

  • @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

  • @cccc2740
    @cccc2740 Год назад +2

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

  • @sondertekken
    @sondertekken Год назад +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.

  • @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.

  • @stith_pragya
    @stith_pragya 6 месяцев назад +1

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

  • @sumitaggarwal9477
    @sumitaggarwal9477 4 месяца назад

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

  • @g_pazzini
    @g_pazzini Год назад

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

  • @jan5504
    @jan5504 Год назад +1

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

  • @badasspandit1886
    @badasspandit1886 Год назад +3

    his energy level is definitely not enough to clear any interview

    • @tasneemayham974
      @tasneemayham974 9 месяцев назад

      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.

  • @shivikatripathi5010
    @shivikatripathi5010 Год назад +4

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

  • @unity3dconcepts434
    @unity3dconcepts434 Год назад

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

  • @vedparkashgaba5478
    @vedparkashgaba5478 Год назад +1

    Very useful educational nice video content is also good

  • @Itsme1n1ly
    @Itsme1n1ly Год назад +1

    Excellent eye-opening explanation ❤

  • @goddy510
    @goddy510 Год назад +1

    Thanks for your great content.

  • @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 :-). !!?!?

  • @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 9 месяцев назад

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

  • @Md_sadiq_Md
    @Md_sadiq_Md Год назад +1

    Pushing the algorithm

  • @DigvijaySingh-se2ll
    @DigvijaySingh-se2ll Год назад

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

  • @zr0724
    @zr0724 5 месяцев назад

    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.

  • @sujathareddyp9444
    @sujathareddyp9444 Год назад

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

  • @adamrizk6735
    @adamrizk6735 Год назад

    Really insightful video, thanks for sharing

  • @bicycleworld7049
    @bicycleworld7049 Год назад +1

    ❤❤❤❤Thanks for your very useful content

  • @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.🤓🤓🤓

  • @srkitchen01
    @srkitchen01 Год назад

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

  • @amitkrishnagupta535
    @amitkrishnagupta535 Год назад

    thank you this video is very helpful..

  • @yli8888
    @yli8888 Год назад

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

  • @solarchat9413
    @solarchat9413 Год назад

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

  • @-Corvo_Attano
    @-Corvo_Attano Год назад +1

    Informative video as usual❤

  • @aryangautam7506
    @aryangautam7506 Год назад +1

    Make a video on Impact part

  • @JD-mr4nv
    @JD-mr4nv Год назад

    your support👏🏻

  • @tsabudh
    @tsabudh Год назад

    Great content. You have got a new subscriber.

  • @kirantechnophile7852
    @kirantechnophile7852 Год назад +3

    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

  • @prajwalm.s7976
    @prajwalm.s7976 Год назад

    No link to the video you told us to watch

  • @manoelramon8283
    @manoelramon8283 Год назад

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

  • @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!

  • @saharsh_30
    @saharsh_30 Год назад

    Great Content 🔥

  • @ShahMotivates
    @ShahMotivates Год назад

    Make a course on DSA.

  • @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 :)

  • @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

  • @bhupendralodhi7434
    @bhupendralodhi7434 Год назад

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

  • @anypoptoslol
    @anypoptoslol 10 месяцев назад

    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.

  • @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.

  • @WinnerSingh
    @WinnerSingh Год назад

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

  • @aribasiebel
    @aribasiebel Год назад

    Like all your videos.

  • @Samandar-dev
    @Samandar-dev Год назад +2

    thank you

  • @venugopalvv915
    @venugopalvv915 Год назад

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

  • @devadhanushp.7359
    @devadhanushp.7359 Год назад

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

  • @kirthanhegde7224
    @kirthanhegde7224 Год назад

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

  • @mahammadhajiyev51
    @mahammadhajiyev51 Год назад

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

  • @pianoman6216
    @pianoman6216 Год назад +1

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

  • @timlin1719
    @timlin1719 Год назад +1

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

  • @vikasnishad6955
    @vikasnishad6955 Год назад

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

  • @GameoverDood
    @GameoverDood Год назад

    542 problems it is...

  • @randomboi637
    @randomboi637 Год назад

    And who are you actually ?

  • @vinaygujjula8381
    @vinaygujjula8381 Год назад

    This time the video is not much as intresting

  • @rahulroy463
    @rahulroy463 Год назад

    Will chatgpt take our job ???

  • @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)

  • @D2_EFX_CORNER_1756
    @D2_EFX_CORNER_1756 Год назад +1

    malayali ano bro

  • @tawkeer4
    @tawkeer4 Год назад

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

  • @GabrielKwakye-sb6fs
    @GabrielKwakye-sb6fs Год назад

    👍👍👍

  • @_pro_grammer_
    @_pro_grammer_ Год назад

    💙💙💙

  • @SAYANDAS-sf6hr
    @SAYANDAS-sf6hr Год назад +1

    Will AI replace software engineers in future??😢

  • @devopsjockey
    @devopsjockey Год назад +1

  • @ShivaSunkaranam-qx3jf
    @ShivaSunkaranam-qx3jf Год назад

    So fast. Not liked

  • @syedsabihhussaini3910
    @syedsabihhussaini3910 Год назад

    why do you speak like this?

  • @anshsahu1752
    @anshsahu1752 Год назад

    me who just came after solving 56. problem

  • @mick5719
    @mick5719 Год назад

    enthu