541 Leetcode problems are NOT enough.

2023 ж. 8 Мау.
154 936 Рет қаралды

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.whatmatters.com/resources...
► 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.

Пікірлер
  • 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)

    @divyanshmishra5121@divyanshmishra512111 ай бұрын
  • That alternative fizzbuzz was something I have never thought of. I really enjoy your channel and I am learning so much 😊😊

    @sidandhawa@sidandhawa11 ай бұрын
  • 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.

    @be1tube@be1tube10 ай бұрын
  • 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.

    @sondertt2220@sondertt222011 ай бұрын
  • 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. 🙏

    @etorty_dev@etorty_dev11 ай бұрын
    • Thanks Emmanuel.

      @sahilandsarra@sahilandsarra11 ай бұрын
    • This deadly combo is not only for dev career, it's a must have combo for every other careers as well

      @NguyenNguyen-lm7dp@NguyenNguyen-lm7dp9 ай бұрын
    • @@NguyenNguyen-lm7dp 💯

      @etorty_dev@etorty_dev9 ай бұрын
  • 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.

    @pauljiang5378@pauljiang537811 ай бұрын
    • Really? It goes against EVERYTHING I've been believing for the last months. They hired you, even you couldn't solve medium problems?

      @joao15122000@joao1512200011 ай бұрын
    • @@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

      @pauljiang5378@pauljiang537811 ай бұрын
    • ​@@pauljiang5378 so weren't coding problems on interview still leetcode-like?

      @kshyr811@kshyr81111 ай бұрын
    • 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

      @MrKB_SSJ2@MrKB_SSJ211 ай бұрын
    • @@MrKB_SSJ2 nah I can guarantee you even the principal engineer in my team knows nothing about ML, even Python in general.

      @pauljiang5378@pauljiang537811 ай бұрын
  • Excellent eye-opening explanation ❤

    @Itsme1n1ly@Itsme1n1ly11 ай бұрын
  • 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!

    @MaxShapira2real@MaxShapira2real11 ай бұрын
  • As an Indian, saying that your interviewer is very likely to have an accent like one, is such a power move. 😂

    @user-mb2eg9fm1s@user-mb2eg9fm1s11 ай бұрын
    • How to conquer then this issue?

      @tgayush1424@tgayush14247 ай бұрын
  • As always... amazing video..... Love you bro... Love and respect from New Delhi (South Delhi)

    @unity3dconcepts434@unity3dconcepts43411 ай бұрын
  • Thanks for your great content.

    @goddy510@goddy51011 ай бұрын
  • Really insightful video, thanks for sharing

    @adamrizk6735@adamrizk673511 ай бұрын
  • this video encourages me for my interview next week… thanks 😊

    @g_pazzini@g_pazzini6 ай бұрын
  • Thank You So Much for this wonderful video...............🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻🙏🏻

    @stith_pragya@stith_pragya15 күн бұрын
  • 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 :-). !!?!?

    @nadimpatel4964@nadimpatel496411 ай бұрын
  • thank you this video is very helpful..

    @amitkrishnagupta535@amitkrishnagupta53511 ай бұрын
  • Hi sahil, would you be able to launch a boot camp in DSA?

    @shivikatripathi5010@shivikatripathi501011 ай бұрын
  • your support👏🏻

    @JD-mr4nv@JD-mr4nv11 ай бұрын
  • Great content. You have got a new subscriber.

    @sabudhthapa6815@sabudhthapa681511 ай бұрын
  • Sir, you are my inspiration to become a software engineer....

    @spacetvbysubham874@spacetvbysubham87411 ай бұрын
    • At Google ???

      @nikolatesla399@nikolatesla39911 ай бұрын
    • @@nikolatesla399 OHIO

      @MrKB_SSJ2@MrKB_SSJ211 ай бұрын
    • @@MrKB_SSJ2 nice ohio boss Tu shi great ho

      @spacetvbysubham874@spacetvbysubham87411 ай бұрын
    • Bro it is going to die😊

      @diveshkumar3823@diveshkumar382311 ай бұрын
  • Great Content 🔥

    @saharsh_30@saharsh_3011 ай бұрын
  • which institute best to learn professional English can you suggest me . bc the way of your pronunciation is excellent.

    @sujathareddyp9444@sujathareddyp944411 ай бұрын
  • In the first example you can argue that concatenating makes this code slower depending on the language

    @johnsoto7112@johnsoto711211 ай бұрын
    • S

      @Kishor_D7@Kishor_D7Ай бұрын
  • 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

    @larbesabdellah7079@larbesabdellah707911 ай бұрын
  • 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.🤓🤓🤓

    @shreypatel1685@shreypatel168511 ай бұрын
  • really good information, exactly what I wanted from this video

    @skunkmeat@skunkmeat11 ай бұрын
    • Thanks 🙏

      @sahilandsarra@sahilandsarra11 ай бұрын
  • Please make a video on flow state and how to get into it

    @DigvijaySingh-se2ll@DigvijaySingh-se2ll11 ай бұрын
  • “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!

    @pranjalgusain21@pranjalgusain2110 ай бұрын
    • 😂

      @sahilandsarra@sahilandsarra10 ай бұрын
    • 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

      @tasneemayham974@tasneemayham9743 ай бұрын
  • sir your english is soo good can You make video on english learning

    @rmyo4568@rmyo456811 ай бұрын
  • Informative video as usual❤

    @-Corvo_Attano@-Corvo_Attano11 ай бұрын
    • ❤️

      @sahilandsarra@sahilandsarra11 ай бұрын
  • Like chatgpt said to me: Do exercises and move up to do projects

    @jan5504@jan550411 ай бұрын
  • I would rather spend my time on contributing to OSS or build some app of my own for mobile platforms

    @cccc2740@cccc274011 ай бұрын
  • 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 :)

    @ehanchowdhurysami4514@ehanchowdhurysami451411 ай бұрын
  • 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.

    @josefkaras7519@josefkaras751911 ай бұрын
    • 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.

      @K9Megahertz@K9Megahertz9 ай бұрын
  • ❤❤❤❤Thanks for your very useful content

    @bicycleworld7049@bicycleworld704911 ай бұрын
    • ❤️❤️❤️

      @sahilandsarra@sahilandsarra11 ай бұрын
  • Very useful educational nice video content is also good

    @vedparkashgaba5478@vedparkashgaba547811 ай бұрын
    • ❤️❤️❤️

      @sahilandsarra@sahilandsarra11 ай бұрын
  • 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??

    @mrwhosaini@mrwhosaini11 ай бұрын
    • I think the best way is to look at other people's solutions in LeetCode.

      @tasneemayham974@tasneemayham9743 ай бұрын
  • 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!

    @ary_21@ary_2111 ай бұрын
  • Make a video on Impact part

    @aryangautam7506@aryangautam750611 ай бұрын
  • Like all your videos.

    @aribasiebel@aribasiebel10 ай бұрын
  • Great Content 👍

    @almousafir4041@almousafir404111 ай бұрын
    • ❤️

      @sahilandsarra@sahilandsarra11 ай бұрын
  • Make a course on DSA.

    @mathCode7694@mathCode769411 ай бұрын
  • 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

    @abineshkumar3021@abineshkumar302111 ай бұрын
  • Pushing the algorithm

    @Md_sadiq_Md@Md_sadiq_Md11 ай бұрын
    • Thanks 🙏

      @sahilandsarra@sahilandsarra11 ай бұрын
  • Hiii sir could u tell me that what u do after 40+ age which is difficult to survive in IT

    @venugopalvv915@venugopalvv91511 ай бұрын
  • Sir please guide me by mistake I choose biology after 10th

    @bhupendralodhi7434@bhupendralodhi743411 ай бұрын
  • his energy level is definitely not enough to clear any interview

    @badasspandit1886@badasspandit188610 ай бұрын
    • 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.

      @tasneemayham974@tasneemayham9743 ай бұрын
  • thank you

    @Samandar-dev@Samandar-dev11 ай бұрын
    • Thank you!

      @sahilandsarra@sahilandsarra11 ай бұрын
  • No link to the video you told us to watch

    @prajwalm.s7976@prajwalm.s797610 ай бұрын
  • 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.

    @thechantoftamohara@thechantoftamohara11 ай бұрын
    • why?

      @BigBrother4Life@BigBrother4Life11 ай бұрын
    • @@BigBrother4Life DSA is barely used in industry at all. Unless you are developing a highly sophisticated game there is 0 use of DSA.

      @thechantoftamohara@thechantoftamohara11 ай бұрын
    • @@thechantoftamohara but it helps to know about the problem solving of a candidate

      @amishbhadwa7104@amishbhadwa710411 ай бұрын
    • ​@@thechantoftamohara then what is used in industry?

      @AntarikshRajkonwar@AntarikshRajkonwar11 ай бұрын
    • @@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

      @Ashahar-cc4vb@Ashahar-cc4vb11 ай бұрын
  • bro do you really have a strong accent???????

    @devadhanushp.7359@devadhanushp.735911 ай бұрын
  • amezing

    @GauravSingh-tq5vm@GauravSingh-tq5vm11 ай бұрын
    • Thanks 🙏

      @sahilandsarra@sahilandsarra11 ай бұрын
  • These are common things. I doubt anyone wont know this.

    @solarchat9413@solarchat941311 ай бұрын
  • Hey your accent is perfectly understandable. Now try to understand my accent is more of a challenge😂

    @yli8888@yli88887 ай бұрын
  • 👍👍👍

    @GabrielKwakye-sb6fs@GabrielKwakye-sb6fs11 ай бұрын
  • So now we should spend less time On leetcode and more on code academy.

    @WinnerSingh@WinnerSingh11 ай бұрын
  • 2:13 did you just miss putting the condition to print "fizzbuzz" ?

    @kirantechnophile7852@kirantechnophile785211 ай бұрын
    • no,it will work.if num is 15 then output would be "fizz+buzz" by both conditions

      @saimahidhar9833@saimahidhar983311 ай бұрын
  • Sir i am requested for you can you make this topic in hindi

    @vikasnishad6955@vikasnishad695511 ай бұрын
  • Sir in which subject have you passed in your 12th

    @bhupendralodhi7434@bhupendralodhi743411 ай бұрын
    • He went to an iit so it will be in Science(physics,chemistry,math)

      @ritvikreddy3959@ritvikreddy395911 ай бұрын
  • I see, the problem with the code is that it's in python, right?

    @pianoman6216@pianoman621611 ай бұрын
  • Will chatgpt take our job ???

    @rahulroy463@rahulroy46311 ай бұрын
  • @crashcode8503@crashcode850311 ай бұрын
    • ❤️

      @sahilandsarra@sahilandsarra11 ай бұрын
  • 💙💙💙

    @_pro_grammer_@_pro_grammer_10 ай бұрын
  • malayali ano bro

    @D2_EFX_CORNER_1756@D2_EFX_CORNER_175611 ай бұрын
  • People blame interviewer when we ate not able to do problem 😂😂😂😂 Bhaiya please help How to approach problem when we stuck.

    @RitikKumar-bk6pj@RitikKumar-bk6pj9 ай бұрын
  • 542 problems it is...

    @GameoverDood@GameoverDood10 ай бұрын
  • 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.

    @anypoptoslol@anypoptoslol4 ай бұрын
  • You lost me when you showed the Ghandi picture bro 😢..

    @kirthanhegde7224@kirthanhegde722411 ай бұрын
    • When.???

      @pankajchoudhary0@pankajchoudhary010 ай бұрын
  • Will AI replace software engineers in future??😢

    @SAYANDAS-sf6hr@SAYANDAS-sf6hr11 ай бұрын
  • as a manager that worked at google and amazon, I would never hire a person that focus on leetcode. Leetcode is useless

    @manoelramon8283@manoelramon828311 ай бұрын
  • And who are you actually ?

    @randomboi637@randomboi63711 ай бұрын
  • This time the video is not much as intresting

    @vinaygujjula8381@vinaygujjula838111 ай бұрын
  • He is talking like his child is sleeping and he does not make any noise

    @mahammadhajiyev51@mahammadhajiyev5111 ай бұрын
  • I think only women have interviewed you because you use she for interviewer😂

    @tawkeer4@tawkeer411 ай бұрын
    • 😂

      @varunpalsingh3822@varunpalsingh382211 ай бұрын
  • Compare to other Indian people, actually yours is easier to understand😂…but still a little fast😅

    @timlin1719@timlin171911 ай бұрын
  • why do you speak like this?

    @syedsabihhussaini3910@syedsabihhussaini391011 ай бұрын
  • So fast. Not liked

    @ShivaSunkaranam-qx3jf@ShivaSunkaranam-qx3jf8 ай бұрын
  • me who just came after solving 56. problem

    @anshsahu1752@anshsahu175211 ай бұрын
  • enthu

    @mick5719@mick571911 ай бұрын
KZhead