5 common LeetCode mistakes with Coding Interview Prep - Java Brains

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ส.ค. 2024

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

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

    5 Mistakes:
    1. The details aren't always there (ask questions in an Interview)
    2. Working Code ISN'T everything (improve your efficiency)
    3. Your code isn't evaluated, YOU ARE! (think out loud)
    4. Focusing on things that don't matter (don't worry about comparative statistics on Leetcode)
    5. Not practicing in the right setting (practice without autocomplete/syntax highlighting using a whiteboard/pen-paper)
    *Aspects like how you communicate, listen and respond to things matter as much as your coding skills*

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

      Thanks for saving 14:49 minutes of my life. Back to LeetCode.

    • @dhruvpurwar6642
      @dhruvpurwar6642 3 ปีที่แล้ว

      Thanks bro

    • @Live-hh6li
      @Live-hh6li 3 ปีที่แล้ว

      Thanks

    • @lenny1526
      @lenny1526 3 ปีที่แล้ว

      thanks! ☺️

    • @mdmasudurrahman851
      @mdmasudurrahman851 3 ปีที่แล้ว

      What would be the possible solution of "Coding Interview Prep" alternative ways....? Does anybody help me to find out?

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

    This man is a legend 💯

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

    Normal People: Builds Java Application
    .
    .
    .
    Javabrains: Builds people's career

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

    I spent my day watching your entire javascript playlist for the second time. 😇Your diehard fan🙏

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

    First thing in the morning, opened LeetCode but I had to finish my coffee. I thought, lets start with Java Brains. Opened TH-cam and here he is with LeetCode tips. Thanks for this. Coffee tastes really good with your video.

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

    Finally on Leetcode. Have been following your videos since 2016. Your J2EE, Hibernate, SpringBoot, Mocroservices playlists were my interview prep materials so far. There is a huge demand for quality vidoes on these topics and you provided it clean. Hats off!
    FYI: Theres also a rising demand on DSA. I think you could put a focussed playlist on DSA Qs from Leetcode, Geekforgeeks and CTCI. An example I would give is of Sam from BytyeByBte. You both have similar kind of approach.
    Best wishes!

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

    As someone who did 400+ problems on leetcode religiously for 5-6 months to prepare for interviews, I did all the mistakes this video highlights. Leetcode may absolutely improve your logic, but it will not prepare for interview. I struggled with white board interviews which are very important. To top of all this I lost job opportunites where they asked me the exact same questions I solved earlier even when I could correctly answer them(was just not able to explain comprehensively), and have come to realization that leetcode is only a part of preparation.

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

    Hi Kaushik,Why don't you make a playlist on ds and algo using java for real world Interview?? I am great fan of yours.Thanks😊

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

    Great video. #4 is telling: It is the one thing on the list that reveals a way that whiteboard interviews don't test real world ability. In the real world, we do have an IDE

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

    Please make a comprehensive and full video on future of mobile apps development.. and sir start making videos on mobile apps development..we expect a lot from you because you teach very easily and you are the most trusted youtuber..👍🙏🙏..

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

    This will be of a lot of use for me personally.
    What I follow as of now:
    Steps: 1, 2, 3
    Problems I have to overcome:
    Step 4, 5: I am so addicted to IDE, even while participating in any competitive challenge, I first write code on IDE, test it and then push this code to coding platform (obviously cmd + c & cmd + v though). This video opened a new challenge for me to not focus on % faster & stop using IDE for competitions.

  • @shyjuthankachan3645
    @shyjuthankachan3645 4 ปีที่แล้ว

    💯 correct. Before jumping into solution you can explain your approach. You can get all clarifications at this point.
    You may not need to write sort code( or custom code) every time - before writing check with interviewer whether you can use standard library.
    If you forget some syntax or stuck at some point don't be down, speak out. This is also a way to find team players.
    If you are not getting an algorithm with nlogn or n complexity, don't worry start with exponential time complexity algorithm and optimise it in second iteration.

  • @amitsharma-ri3qk
    @amitsharma-ri3qk 4 ปีที่แล้ว +36

    First like and view.. Waiting for docker tutorial with spring boot

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

      Yes mee too

    • @writecleancode
      @writecleancode 4 ปีที่แล้ว

      You could use Google's Jib plugin in your Maven pom file and that automatically containerises your application and pushes it to a container repository such as Docker-hub.

  • @coding_kit
    @coding_kit 3 ปีที่แล้ว

    Just in less than 15 minutes, this legend solved all my quarries.
    Thank you.

  • @paraschawla3757
    @paraschawla3757 4 ปีที่แล้ว

    In most of the cases, runtime complexity in leetcode is directly proportional to how better time complexity of your solution is. Same with memory is directly proportional to how better space complexity of your solution is.. This is the best possible way a MACHINE can judge your solution...I find this as a pretty cool feature.. Couldn't agree much on 4th point. Rest points are very valid, thanks

  • @sjpt1434
    @sjpt1434 4 ปีที่แล้ว

    U r the one...plz finish all courses as soon as possible. Thanks for your help

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

    Not sure if you already created video over Big(O). If not, Would like to listen about the topic from you.

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

    This is an incredibly valuable point. Could not agree more.

  • @josephnairpudupermanil8679
    @josephnairpudupermanil8679 2 ปีที่แล้ว

    Awesome tips Kaushik.

  • @Avinashkumar-fo2bu
    @Avinashkumar-fo2bu 4 ปีที่แล้ว +3

    Waiting for your videos on ds and algorithm... An approch of developing the problem solving ability 💪😄👌

  • @maheshrokade5
    @maheshrokade5 3 ปีที่แล้ว

    Awesome ...........Very Helpful....

  • @nishantingle1438
    @nishantingle1438 4 ปีที่แล้ว

    1. Ask Questions
    2. Make your code Readable
    3. Interviews evaluate you & not your code
    4. Focus on time & space complexity
    5. Have habit of writing instead of only typing
    Bonus Tip: LeetCode is only about programming Interviews are about person:person interaction.

  • @sarathbabu7689
    @sarathbabu7689 2 ปีที่แล้ว

    This video help me to understand the what are the quality really looking for... Thanks you Sir

  • @nishadkumar7322
    @nishadkumar7322 4 ปีที่แล้ว

    +Java Brains I strongly agree with your advices. Thank you for that. However, for point 1, though LeetCode provides sample test cases and examples, it is our responsibility to ensure we understand how to consider each scenario before we start coding. This in fact is a blessing in disguise by LeetCode in my point of view. It gives you a glimpse of different cases your code has to work under and in the long run, it is in our hands to ask questions in the real interviews to clarify such scenarios. I hope I make sense here.

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

    Could you please continue this course atleast with 30 videos?

  • @debasishchakraborty4196
    @debasishchakraborty4196 2 ปีที่แล้ว

    Thanks Kaushik for such valuable inputs while using LeetCode, will keep in mind, very insightful this was!!

  • @LifeHack-p2
    @LifeHack-p2 2 ปีที่แล้ว

    Please make video series on how to start with competitive programming 🙏.....

  • @user-oy4kf5wr8l
    @user-oy4kf5wr8l 3 ปีที่แล้ว

    Thanks buddy, ur channel helps me so much since 5 years ago. once again! super thank you! u r amazing

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

    What excellent advice, ty.

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

    please do more videos for nodejs ..........................it was awesome

  • @manitejachinni5863
    @manitejachinni5863 3 ปีที่แล้ว

    Best information

  • @gokuls9929
    @gokuls9929 2 ปีที่แล้ว

    This was helpful.

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

    Sometimes the interviewer just writes down the question in a piece of paper with a sample example and you have to write code for it. No interaction whatsoever is expected.

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

    Please make a video on implementing linked lists and trees in java, I can't seem to find any tutorials that explain as well as you do.

    • @piyushpareek8259
      @piyushpareek8259 4 ปีที่แล้ว

      Coding simplified TH-cam I learned from there

  • @nimeshdere2630
    @nimeshdere2630 4 ปีที่แล้ว

    Hey Kaushik,
    How are you man..
    We didnt seen you online from a month..
    I hope you are doing good..
    Your way of teaching is excellent..
    Hope your doing good man..
    Thank you for being us teacher..

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

    thanks man ! that was very helpful

  • @SusilVignesh
    @SusilVignesh 4 ปีที่แล้ว

    Bro you are awesome. You channel is different than others. You improve other's Careers by videos and tips. Thank you very much bro.

  • @nishabagdwal
    @nishabagdwal 3 ปีที่แล้ว

    I am a fan, sir. You are doing an amazing job. Your videos are always inspiring and so full of knowledge.

  • @Souless-Monster
    @Souless-Monster 4 ปีที่แล้ว

    damn, I love your videos so much. Never expected to enjoy a programming and tutorials channel this bad!

  • @nithingowda8350
    @nithingowda8350 4 ปีที่แล้ว

    Mistake 1: 1:48
    Mistake 2: 5:43
    Mistake 3: 7:47
    Mistake 4: 9:18
    Mistake 5: 11:23

  • @Mahi47XI
    @Mahi47XI 2 ปีที่แล้ว

    I have following him on from years, he never disappoints, I feel like I'm reading a Human book, his voice is also very satisfying

  • @bestvenkatesh
    @bestvenkatesh 4 ปีที่แล้ว

    Excellent !! Waiting for the docker and k8s/RKE end to end development and deployment tutorial.

  • @jeffreyt999
    @jeffreyt999 4 ปีที่แล้ว

    Thank you for these great tips. I made these same mistakes. Fyi during these covid times, i am hearing and experienced interviews where candidate types the code solution in coderpad or other online editors. So definitely work on simple editors at the least.

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

    Waiting for the video microservices 4 with Ribbon,zull..with realtime example

  • @matrixRule127
    @matrixRule127 4 ปีที่แล้ว

    Downloaded this! Thanks a lot!

  • @alittlecoding
    @alittlecoding 2 ปีที่แล้ว

    really helpful

  • @chandanpadalkar7516
    @chandanpadalkar7516 4 ปีที่แล้ว

    You are always spot on to the point 👍

  • @deeproy7292
    @deeproy7292 3 ปีที่แล้ว

    neat trick😎

  • @codewithhanoak
    @codewithhanoak 4 ปีที่แล้ว

    This is really a very useful video. Nice...

  • @sathwikchintalapudi1243
    @sathwikchintalapudi1243 4 ปีที่แล้ว

    very helpful Thank you kousik

  • @seemantshekhar43
    @seemantshekhar43 4 ปีที่แล้ว

    My instinct says u are from india, is it so? there is some sort of familarity when i watch your lectures. These videos are super informtaive and much beneficial. lots of love

  • @jaggis4914
    @jaggis4914 4 ปีที่แล้ว

    Great points! Thanks

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

    I wonder if Koushik made the background music. :)

  • @curtdudeanmol9393
    @curtdudeanmol9393 4 ปีที่แล้ว

    Awesome videos , appreciate the efforts

  • @htl211085
    @htl211085 4 ปีที่แล้ว

    Hi Koushik,
    I am a fan of your channel. I got one concern which is not related to this video.
    Will MacBook Pro with 8gb ram be enough for programming with Java, Python? I also use Docker. Thanks.

  • @abhaythakur8572
    @abhaythakur8572 4 ปีที่แล้ว

    excellent video
    and waiting for nodejs videos

  • @imjeffreylee
    @imjeffreylee 4 ปีที่แล้ว

    Super helpful video

  • @zahedahmed7116
    @zahedahmed7116 4 ปีที่แล้ว

    Thanks sir for information us

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

    Thanks Sir. This is just what I needed in this lockdown.🙏

  • @bantypatel7267
    @bantypatel7267 4 ปีที่แล้ว

    You are great 👍

  • @ChetanVijay29
    @ChetanVijay29 4 ปีที่แล้ว

    Please make video series on mocking and reactive programming

  • @danpopescu8219
    @danpopescu8219 4 ปีที่แล้ว

    thanks for this great video

  • @codegeek8256
    @codegeek8256 4 ปีที่แล้ว

    Looking good, in this tough times

  • @maheshm3273
    @maheshm3273 4 ปีที่แล้ว

    sir please make a series on microservices. you are the best.

  • @shekabhivlog3998
    @shekabhivlog3998 3 ปีที่แล้ว

    Love your videos how do you create the background music?

  • @shobhitraj8416
    @shobhitraj8416 4 ปีที่แล้ว

    Yes sir I'm following those things

  • @kelkarpranav
    @kelkarpranav 4 ปีที่แล้ว

    Amazing video!
    2 suggestions : Brightness is little bit too much here, was difficult focusing on your face throughout the video. Music is little louder.

  • @kongbullies6709
    @kongbullies6709 4 ปีที่แล้ว

    hi sir can you make a video on how we can host our java spring-boot app in the internet? and your recommended hosting platform thanks!

  • @nitinagrawal6637
    @nitinagrawal6637 4 ปีที่แล้ว

    Good points to follow but these points need to be understood & followed by interviewer also. As all such points will be working like mutual agreement for the whole interview process & any of the parties of this interview engangement don't follow these then we are again to point 0.

  • @mihuhih2186
    @mihuhih2186 2 ปีที่แล้ว

    this leetcode time and memory speed estimation is not precise. sometimes for the same code there are different % results and difference can be huge - estimation changes from 10% to 70% after clicking "submit" button second time.

  • @muhammedsalim1252
    @muhammedsalim1252 4 ปีที่แล้ว

    Hello.. can you please make a coding programs for all datastructure in java.. like DAG, etc.. challenging questions that may ask in interview from datastructure

  • @imkrrishnayak
    @imkrrishnayak 4 ปีที่แล้ว

    Hey Koushik, can i give u a simple trick to be a youtube learning superstar! Just start a playlist of big data learning!

  • @nandhureddythippareddy9201
    @nandhureddythippareddy9201 4 ปีที่แล้ว

    Waiting for devops stuff😍😍😍😍

  • @AryanChaurasia10
    @AryanChaurasia10 2 ปีที่แล้ว

    Is it normal to forget solution you saw in comments and after few days still forgetting?

  • @prabu2778
    @prabu2778 4 ปีที่แล้ว

    In which order I should learn
    You don't know JS?
    And how many parts of this book available?

  • @js__talks
    @js__talks 4 ปีที่แล้ว

    You are awesome

  • @anug14
    @anug14 3 ปีที่แล้ว

    leetcode could rate the code on readability too. new feature

  • @nitinsingh-en8to
    @nitinsingh-en8to 4 ปีที่แล้ว

    Can we expect some system design stuff in future???

  • @devashishbakare522
    @devashishbakare522 2 ปีที่แล้ว

    Wow!!

  • @rakesht.j664
    @rakesht.j664 4 ปีที่แล้ว

    Then can you please upload video according to coding interview preparation.......

  • @anil2009
    @anil2009 4 ปีที่แล้ว

    Microservices what you teach are enough for a beginner to survive in industry??

  • @supriyakavuri1988
    @supriyakavuri1988 4 ปีที่แล้ว

    Hi sir
    Can we have video on concurent hash map changes in java 8

  • @nirmalrahulsarma1
    @nirmalrahulsarma1 3 ปีที่แล้ว

    Sir I also practise from codeforce.But why codeforce problems are more tough than hackerrank??

  • @ramiiii
    @ramiiii 4 ปีที่แล้ว

    Dim that light man.

  • @amitsah590
    @amitsah590 4 ปีที่แล้ว

    Hello sir, sometimes logic not come even i spend so much time on that particular coding problem. So my question is can i see others solution? or any better idea if you help? please

  • @galaxiegalaxie5003
    @galaxiegalaxie5003 4 ปีที่แล้ว

    Hello, could you make some videos about ktor kotlin server side :)

  • @sujan_kumar_mitra
    @sujan_kumar_mitra 4 ปีที่แล้ว

    Can you make a video on Spring Security + Spring Social to login and register using Google and Facebook? There aren't good tutorials for Spring Social and integration with Spring Security.

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

      I just did one using Github SSO. Its there in the official doc of Spring. Pls chek.

    • @sujan_kumar_mitra
      @sujan_kumar_mitra 4 ปีที่แล้ว

      @@vyshnavramesh9305 can you please share the github link of your project? You can remove the api keys...

  • @TheMomDaughter
    @TheMomDaughter 4 ปีที่แล้ว

    Could you please remove the background music..kinda hard to concentrate. Thanks for the videos though. They are great.

  • @sundaramjha1776
    @sundaramjha1776 4 ปีที่แล้ว

    You r not making video from last 1 month. Is there is any problem?

  • @mdkpuja2010
    @mdkpuja2010 3 ปีที่แล้ว

    Hi Koushik, Could you please make video on BufferedReader vs Scanner, which could take long array as input, for example: 10^8 values.

  • @sanketsultan2348
    @sanketsultan2348 4 ปีที่แล้ว

    sir please upload node js seriese

  • @ChetanVijay29
    @ChetanVijay29 4 ปีที่แล้ว

    Atleast Webclient and junit for Webclient

  • @codegeek8256
    @codegeek8256 4 ปีที่แล้ว

    Hey Koushik do you have a PhD?

  • @momsmagic8593
    @momsmagic8593 4 ปีที่แล้ว

    Geeksforgeeks is also there

  • @roshanwijendra8537
    @roshanwijendra8537 4 ปีที่แล้ว

    don't put background music

  • @PramodSingh-tr9uk
    @PramodSingh-tr9uk 4 ปีที่แล้ว +1

    Is he eating mentos?

  • @mohammedjawadkalburgi2208
    @mohammedjawadkalburgi2208 4 ปีที่แล้ว

    God 🙏

  • @mediaz2129
    @mediaz2129 4 ปีที่แล้ว

    Although Java Brains is a channel that provides quality content and advice, i totally disagree with this one. First of all sites like hacker rank, leetcode ... has a very specific purpose, help you be good at problem solving. They serve that purpose very well. Now you mentioned about the time complexity is important, not runtime they show on leetcode etc, time complexity shows the rate at which runtime grows there are cases where a O(n^2) algorithm performs better than O(n) approach because the upper bound of n was reasonable lower and approach of both algorithm were different, so can find all these cases only if am practicing on these kind of sites. And the point about the auto complete. Most of the time interviewers allows to write pseudo code, in interviews they want to check your programming skill not your memory power. And yes there are specific cases where remembering methods are important such as in interview for a specific language role, java developer, python developer, c++ developer etc, in these cases knowledge of language is important. And about readability yes it is very important to write readable code as a software engineer, being an engineer myself during my work i use good variable name and comments, but when it comes to competive prgmg i use x, y, z as vaiable names, there is no silver bullet for all scenario, depending on the scenario you have to choose what works, there are always trade offs, this is also an essential skill that one should have as an engineer. And I don't think interviewers will judge you for code readability on the code you write during an interview when time is extremely constraint to solve a problem. If you really want to judge someone's code for readability look at there GitHub projects. Reducing the number of lines does not result in a good readable code but sometimes it does. For example by using lambdas in java. All in all these platforms provide you good opportunity to get better at problem solving. And they are not the ultimate answer to the question "how to become a good engineer ". So don't blame it for the things it is not meant for.

  • @karthikshinde6739
    @karthikshinde6739 4 ปีที่แล้ว

    R u an Indian???

  • @ajaib1313
    @ajaib1313 4 ปีที่แล้ว

    😍💚