How To Get Good At LeetCode

An Ex-Googler and Top Ranked LeetCoder explains how to get good at LeetCode.
My links:
• Twitch - / qiqi_impact
• Discord - / discord
• LeetCode - leetcode.com/twitch_tv_qiqi_i...
Mentioned in the video:
• Blind 75 - leetcode.com/discuss/general-...
• Neetcode Roadmap - neetcode.io/roadmap
• LeetRooms Chrome Extension - leetrooms.com
• CP-Algorithms - cp-algorithms.com
Timestamps:
00:00 I'm new to algorithms. How do I learn this stuff?
00:39 There are thousands of problems. How do I know which ones to solve?
01:16 I'm stuck on a problem. When should I give up?
01:38 What types of problems do I need to be able to solve to get a job?
02:33 Do I need LeetCode Premium?
03:38 I struggle with solving problems under a time limit. What can I do?
04:23 Do I need to learn Python? I know another language but I heard it's easier.

Пікірлер: 299

  • @NeetCode
    @NeetCode Жыл бұрын

    Completely agree that you should just start solving problems before learning theory. A lot of the easy questions are as simple as reversing a string, not exactly an academic algorithm.. But great video, subscribed!

  • @qiqi_impact_official

    @qiqi_impact_official

    Жыл бұрын

    Thanks! Your roadmap is pretty useful and easy to follow! This is my first video, let me know if you have any tips/feedback on the video/audio quality etc.

  • @NeetCode

    @NeetCode

    Жыл бұрын

    @@qiqi_impact_official I liked that it was really genuine, and not super flashy. A lot of YTers nowadays just make the exact same 'generic' videos. But imo making 'hardcore' or 'niche' content is a better long term strategy. You might get a lot of views from a video like "How i would learn to code again if i could start over", but those types of viewers are pretty 'casual' and wont stick around. What separates you from 99% of other YTers (including me) is you're better at coding than them. Best to use that to your advantage.

  • @qiqi_impact_official

    @qiqi_impact_official

    Жыл бұрын

    @@NeetCode Appreciate the insight! I haven't decided what I'll do for future videos, but I'll keep that in mind.

  • @markzuckerbread1865

    @markzuckerbread1865

    Жыл бұрын

    solving problems allows you to make observations, learning theory allows you to connect those dots and see a bigger picture, I see this in many areas in programming.

  • @IsaacC20

    @IsaacC20

    Жыл бұрын

    ​@@markzuckerbread1865 Neetcode and Qiqi's points are valid but they seem incomplete by saying that the "theory" is optional. Some LC problems (especially the tacked-on "challenges") require, at the very least, the basic concepts introduced in, say, an introductory course to pure mathematics or compsci. For example, formalization of the concept of divisibility is utilized in the "challenge" of problem 1920, where the solution involves "encoding" two values into a single value. If you didn't know the formal definition of divisibility, it'd be almost impossible to come up with an answer. Even then, if you came up with something that didn't rely on the divisibility definition (q*a + r = b), you would have needed the proof-oriented rigor of a math student to justify your own custom encoding function (i.e., to prove correctness). Theory is also important when writing bug-free code: it's one thing to be able to write a solution that passes a set of tests i.e., the solution is only as good as the quality of the tests. It's another to prove a solution is correct i.e., the solution will *always* be correct, which has the side effect of showing that a test was written with errors. TLDR; if you skip theory, you're learning how to solve particular LC problems and its variants, but you won't gain experience seeing why a solution is creative (i.e., understanding how a problem is solved by "thinking outside the box") -- which helps when you tackle problems you haven't seen/encountered before. These problems tend to be asked at fintech companies where there is a higher negative impact/less tolerance for making naive math errors in codebases. With problem 1920, a person who don't know "the theory (of discrete mathematics)" might reflect and conclude "I'll see if I can reapply that definition in other problems" where a person "with theory knowledge" might observe that "This definition has an uncanny applicability to a seemingly unrelated problem. I wonder what sorts of seemingly unrelated problems are solved by applying, say, the multinomial theorem." Some problems of focusing on theory is that: (1) The depth of theory can suck up all of your time, which is an issue if you're doing this to get a job in the near future. (2) Not all concepts are applicable to LC problems.

  • @gentus7239
    @gentus7239 Жыл бұрын

    why cant more videos be like this? Short and to the point, everything I could have wanted when clicking on the video! Awesome work!

  • @methanesulfonic

    @methanesulfonic

    Жыл бұрын

    "why...", because it's bad for the algorithm

  • @horizonfios

    @horizonfios

    Жыл бұрын

    @@methanesulfonicthen can they change the algorithm

  • @CJCJCJCJ

    @CJCJCJCJ

    Жыл бұрын

    @@horizonfiosbut that wouldn’t maximize user engagement

  • @atharvabhosale3529

    @atharvabhosale3529

    Жыл бұрын

    ​@@horizonfiosthe algorithm is here to print money for KZread not to serve us knowledgeable content. All social media is here to earn money not provide anything unless you resist the algorithm and use the tools to your benefit.

  • @cybelismuth
    @cybelismuth11 ай бұрын

    I loved how its was just question / answer right to the point, i was focused through the whole thing! good job

  • @CristianoRonaldo-vv6sv
    @CristianoRonaldo-vv6sv Жыл бұрын

    This is clearly the best video on leetcode problem solving and I can relate to a lot of it. Great job keeping it short and sweet. WIll be looking forward to your weekly comment for some hints after this weekends contest

  • @ecxscariot335
    @ecxscariot33511 ай бұрын

    simple, concise and actually helpful. thank you very much. You understand your audience completely.

  • @vamseekotha
    @vamseekotha11 ай бұрын

    Concise and on point! Great video.

  • @h.t.8812
    @h.t.881211 ай бұрын

    thank you so much, i was thinking about getting a book on algorithm but i agree with your approach

  • @bharathprakash
    @bharathprakash11 ай бұрын

    straight to the point , Excellent explanation.

  • @brettford946
    @brettford9469 ай бұрын

    this is an amazing source of information, thank you so much

  • @lukask.2549
    @lukask.2549 Жыл бұрын

    The efficiency of this video is unmatched, appreciate u

  • @nosult3220
    @nosult322011 ай бұрын

    I like your straight forward approach. It’s always best to fail fast

  • @goaheadskinit
    @goaheadskinit10 ай бұрын

    Just came across your channel and glad I did. Thank you for the informative video.

  • @kamilpro
    @kamilpro8 ай бұрын

    Quick, clear and to the point video - this is the way!

  • @braumski2
    @braumski28 ай бұрын

    You really only mentioning easys and mediums gave me so much confidence 😅 I struggled so hard on my first medium a couple days ago

  • @qiqi_impact_official

    @qiqi_impact_official

    8 ай бұрын

    Congrats! Keep working at it.

  • @RohitKumar-ku4nh
    @RohitKumar-ku4nh Жыл бұрын

    Amazing video buddy, simple and to the point. Thanks! Underrated channel btw - shall blow up!

  • @TahMeeDzz
    @TahMeeDzz Жыл бұрын

    Very Helpful Explanation, No BS

  • @zbdfhg
    @zbdfhg Жыл бұрын

    I never knew Qiqi was so good at coding

  • @benoitblanc-zl8rc

    @benoitblanc-zl8rc

    Жыл бұрын

    😂

  • @mousepotatodoesstuff

    @mousepotatodoesstuff

    Жыл бұрын

    Neither did Qiqi.

  • @zinx6809

    @zinx6809

    11 ай бұрын

    How else do you think she always beats the algorithm and come home instead of your waifu?

  • @Krishnakumar-ln6zc

    @Krishnakumar-ln6zc

    10 ай бұрын

    @@zinx6809 Loll.. so that's how I got my c4 Qiqi

  • @arrowai

    @arrowai

    10 ай бұрын

    @@zinx6809 thats a solid point 😂

  • @dankprogrammingmemes7807
    @dankprogrammingmemes7807 Жыл бұрын

    You earned a sub!!! Brilliant video. Thanks for making it

  • @coofzilla
    @coofzilla Жыл бұрын

    extremely well spoken, solid content, yep this channel gonna blow up lol

  • @akshittyagi6482
    @akshittyagi6482 Жыл бұрын

    thanks a lot for making this! really helps!

  • @KnackiiTM
    @KnackiiTM Жыл бұрын

    First video I watch if you and I already really like you, very clear and I'll try to catch one of your stream to join a leetcode room if possible 😊 (I'm in EU so I hope it won't be too difficult)

  • @younesmdarhrialaoui643
    @younesmdarhrialaoui643 Жыл бұрын

    1670 subs in a month with one video is very encouraging, keep going man!

  • @sarahzhao7564
    @sarahzhao756410 ай бұрын

    This was so helpful, thank you!!

  • @cm3462
    @cm346211 ай бұрын

    Great overview. Subscribed immediately.

  • @ricardo5460
    @ricardo54606 ай бұрын

    Concise and to the point. Thank you!

  • @Q_Ultimas
    @Q_Ultimas Жыл бұрын

    One of the best LeetCoders to learn from out there :)

  • @DenisAnzoategui
    @DenisAnzoategui11 ай бұрын

    Trying to get my hands on Leetcode. Excelent video!

  • @palgogo
    @palgogoАй бұрын

    Really great video, like your explanation style

  • @qiqi_impact_official

    @qiqi_impact_official

    Ай бұрын

    Thank you!

  • @jefferydahmer2013
    @jefferydahmer2013 Жыл бұрын

    Great content. Subscribed!

  • @camperjett
    @camperjett Жыл бұрын

    Pretty straight forward!! Thanks!

  • @jazmanseventeen7894
    @jazmanseventeen7894 Жыл бұрын

    I had to triple check that this was by Qiqi impact, as im a genshin player and aspiring software engineer so I thought it was a youtube bug... please dont change your name, this is amazing

  • @nikhil182
    @nikhil182 Жыл бұрын

    Starting early is the key, consistency also plays a huge role.

  • @The.MindMap
    @The.MindMap10 ай бұрын

    You're good at making videos, continue the good work

  • @tempregex8520
    @tempregex8520 Жыл бұрын

    one the few people who knows and understands the KISS principle !great video!

  • @abdosalah22
    @abdosalah22 Жыл бұрын

    Great video! Keep going

  • @sudhanshutiwari2644
    @sudhanshutiwari264411 ай бұрын

    The best straightforward answer.

  • @RajnishKumar-bo5ek
    @RajnishKumar-bo5ek5 күн бұрын

    love the editing

  • @matthewmeeker8016
    @matthewmeeker8016 Жыл бұрын

    Wow there was absolutely no fluff in this. Thank you.

  • @harpalsinhjadeja2568
    @harpalsinhjadeja2568 Жыл бұрын

    No BS straight to the point!

  • @ruslan2676
    @ruslan26767 күн бұрын

    The best video on how to practice leetcode!

  • @liamsebestyen4983
    @liamsebestyen49835 ай бұрын

    Amazing Video. Thank you!

  • @AurelianoShowsTheWorld
    @AurelianoShowsTheWorld Жыл бұрын

    Great vid, thank you!

  • @weakestdrainer
    @weakestdrainer Жыл бұрын

    This video is very high quality for how many subs you have… Thanks for the info, i’ll be watching future videos

  • @anub631
    @anub6318 ай бұрын

    Dude you saved me. Thank you so much, subbed!

  • @qiqi_impact_official

    @qiqi_impact_official

    8 ай бұрын

    No problem!

  • @akash-kumar737
    @akash-kumar737 Жыл бұрын

    Coming here after Neetcode live.

  • @clovemao329

    @clovemao329

    Жыл бұрын

    same

  • @vijaysai9994
    @vijaysai9994 Жыл бұрын

    Very Informative!!

  • @herschelschwartz7888
    @herschelschwartz78888 ай бұрын

    astonishingly good video. I was prepared to be annoyed and this was pleasant and clear and very helpful

  • @Andrew_Guerrand_
    @Andrew_Guerrand_ Жыл бұрын

    Thanks for sharing!

  • @prabinlamsal74
    @prabinlamsal74 Жыл бұрын

    This video is GOLD!!!

  • @insculption7107
    @insculption7107 Жыл бұрын

    great video !!

  • @ex0stasis72
    @ex0stasis728 ай бұрын

    Sometimes mediums are easier than easies. But maybe because I've already learned most of the algorithms I need in university and some of the harder concepts may be more fresh in my mind.

  • @xaiyeon_xiuzhen
    @xaiyeon_xiuzhen Жыл бұрын

    nice channel name xD and great video ty !!

  • @psyno1856
    @psyno1856 Жыл бұрын

    here before you get big and thank you, this is probably the best video to solve all doubts

  • @prateek4-yearb.tech.chemic511
    @prateek4-yearb.tech.chemic511 Жыл бұрын

    best video on this topic

  • @array5019
    @array501911 ай бұрын

    the fact u talk like qiqi is very relaxing is python really fine, i have heard people say that u don't learn proper techniques of programming

  • @sariaki6872
    @sariaki68728 ай бұрын

    This video is gold!

  • @davidcarvalho5003
    @davidcarvalho5003 Жыл бұрын

    My dude, you're the goat

  • @professormoriarty7439
    @professormoriarty7439 Жыл бұрын

    Coming after neetcode live

  • @TricoliciSerghei
    @TricoliciSerghei Жыл бұрын

    Sank you very very much my man!

  • @ItzAnameOk
    @ItzAnameOk Жыл бұрын

    Algorithm gods bless thee. Didn't know you had a YT channel!

  • @somnathgolui2912
    @somnathgolui2912 Жыл бұрын

    Hello, new subscriber here. I will join you on every live stream you do from now.

  • @spyfal5026
    @spyfal5026 Жыл бұрын

    Really good video

  • @Crowbar402
    @Crowbar402 Жыл бұрын

    Thank you!

  • @kevinbabu3581
    @kevinbabu3581 Жыл бұрын

    such a good video

  • @caerulemusic
    @caerulemusic Жыл бұрын

    thanks dawg

  • @dimitrijedjokic3387
    @dimitrijedjokic3387 Жыл бұрын

    Thank you for advice, now I know I've had a completely wrong approach. I was scared of looking up solutions because you know I felt like it wasn't the right way, like I'm copying someone's homework, so when I wouldn't understand how to solve a problem, I would go back to literature and tutorials...

  • @qiqi_impact_official

    @qiqi_impact_official

    Жыл бұрын

    Having the determination to solve a problem yourself is often very valuable for learning! The only problem is that it can be inefficient if you need to learn many concepts in a limited time.

  • @phongtranquoc7557

    @phongtranquoc7557

    28 күн бұрын

    I suggest use notion and record every solution you solved with or without solution and try to explain the solution on your own interpretation.

  • @awesomedavid2012
    @awesomedavid201211 ай бұрын

    I like the problems on leetcode and the hypothetical performance/memory comparison that is probably inaccurate af, but the fact that there is no LSP is actually wild.

  • @shloksuman8164
    @shloksuman816411 ай бұрын

    really helpful

  • @-Spirit
    @-Spirit Жыл бұрын

    thanks qiqi

  • @onio907
    @onio9078 ай бұрын

    thanks for sharing

  • @notdarkangelu
    @notdarkangelu Жыл бұрын

    Here while you still had 1.08k subs!!

  • @theinquisitor18
    @theinquisitor18 Жыл бұрын

    I'm not interested in being a developer. I'm going into Data Analytics. I've been grinding SQL questions. If technical interviews weren't a thing, I'd still do it. I've learned so much from them. My University never acknowledged CTEs, Window Functions, or rolling totals.

  • @henriquefigueiredo4077
    @henriquefigueiredo4077 Жыл бұрын

    Good video.

  • @CodeGeeks0
    @CodeGeeks0 Жыл бұрын

    Awesome 😎

  • @jlecampana
    @jlecampana Жыл бұрын

    This is very insightful, I was wondering if you have any advice on how to identify in which topics one's weak at? Is this what Contests are generally for? And thank you for the great video!

  • @qiqi_impact_official

    @qiqi_impact_official

    Жыл бұрын

    The best way to do this (without randomly trying lots of problems) is by going through one of the problem lists in the description.

  • @jairajsahgal7101
    @jairajsahgal7101 Жыл бұрын

    thank you

  • @ahmedmohsen6403
    @ahmedmohsen640310 ай бұрын

    never thought I would see qiqi and coding together. they are both cursed though so that is one similarity.

  • @candysuccubus
    @candysuccubus Жыл бұрын

    n0ic p0g g00d vid!

  • @archirnobenz
    @archirnobenz8 ай бұрын

    I clicked on the channel to find Genshin content, and ended up watching through the whole video. Worth

  • @Apollo.E
    @Apollo.E6 ай бұрын

    Hello, QiQi. First, I really appreciate the way you and others share relevant information and advice on where to start developing your skills in solving LeetCode problems. NeetCode, Blind, consistency and a few others have been mentioned numerous times. However, what I really question is whether it is possible for the "average" person to achieve skills high enough to be in the top 0.04% by following these and other tips, just by practicing and solidifying a bit with theory over time? Perhaps I'm trying to find a "holy grail" that doesn't exist, but I also can't ignore the bell-shaped curve. From a statistical perspective, it's an extraordinary problem-solving skill and worthy of some measure of admiration, in my opinion. I apologize in advance if your answer to my question is this video. As I wrote earlier, the reason for this is my impression of your skills.

  • @qiqi_impact_official

    @qiqi_impact_official

    6 ай бұрын

    It doesn't matter what the average person can do. It matters what you can do. Figure out what your goals are and form a plan to try to achieve them. If you make it, great! If not, you've gained experience in embarking on a skill-building adventure, which is useful everywhere else in life.

  • @rutabega306
    @rutabega306 Жыл бұрын

    Leetcode interviews is a thing of the past

  • @aadityakiran_s
    @aadityakiran_s Жыл бұрын

    Hash tables, Graphs and Dynamic Programming. So basically easiest data structure to the most difficult category. I think I get what you're trying to say.

  • @yousufazad6914
    @yousufazad6914 Жыл бұрын

    Chad level video

  • @gshard14
    @gshard14 Жыл бұрын

    The segmentation fault fear is true 🤣

  • @harshsaxena7102
    @harshsaxena710211 ай бұрын

    never seen a fellow leetcoder who has is so insanely peaceful

  • @its_mrad
    @its_mrad10 ай бұрын

    Hey please start uploading more videos on youtube. I wanna learn from you :)

  • @SuryaPraK45H
    @SuryaPraK45H Жыл бұрын

    Can you give a roadmap on system design learning?.

  • @_MNF__
    @_MNF__4 ай бұрын

    I thought youtube was bugging when i looked at your channel name and the video title

  • @sudhanshusingh-cy9wp
    @sudhanshusingh-cy9wp Жыл бұрын

    If “to the point” had a definition, its you my friend

  • @grim.reaper
    @grim.reaper Жыл бұрын

    Seg fault in an interview problem will definitely seg fault my brain for few days 😵‍💫

  • @KacyCodes
    @KacyCodes Жыл бұрын

    3:23 hey that’s my video on critical connections in a network lol

  • @cbradiooo
    @cbradiooo Жыл бұрын

    🔥

  • @wpersonwlife
    @wpersonwlife11 ай бұрын

    If I'm struggling with LeetCode questions, should I continue with CodeWars until I become more comfortable with the syntax? And if that's the case, when would be a good time to transition to LeetCode?

  • @qiqi_impact_official

    @qiqi_impact_official

    11 ай бұрын

    That seems reasonable. Move to LeetCode when you think you're ready.

  • @nhatphong974
    @nhatphong974 Жыл бұрын

    come for qiqi, stay for ur great video. many thanks

  • @adfasdfasdf643
    @adfasdfasdf6432 ай бұрын

    you must have pulled Qiqi a billion times to devote yourself to becoming a god of leetcode

  • @wheelkeem
    @wheelkeem11 ай бұрын

    how would you go about sustainable schedules for leetcoding for interview prep? How many questions/hours a day/week, and how would you structure that allotted time?

  • @qiqi_impact_official

    @qiqi_impact_official

    11 ай бұрын

    Depends on the level you're at, the level you need to achieve, and how long you have to do it. As far as structure, just try challenging problems in topics you need to learn, reading solutions if you are stuck for a while.

  • @masterchief1520

    @masterchief1520

    9 ай бұрын

    Just allocate the time you can afford. how does scheduling really matter? as long as you're learning keep going. Start applying to not really your dream companies once you start getting confident. Use that feedback to decide if you have to practice more or apply to your dream company

  • @xit
    @xit Жыл бұрын

    subbed

  • @gaurangdeka
    @gaurangdeka6 ай бұрын

    Great video Qiqi, but as a beginner there are a few problems with your suggestion I would like to point out 1. The question lists mentioned such as neetcode 150 and blind 75 are dominated by hard/medium questions which is not very beginner friendly 2. Learning concepts/implementations as you go is highly time-consuming

  • @qiqi_impact_official

    @qiqi_impact_official

    6 ай бұрын

    1. Then start with the Easy questions in each category, and work your way into Mediums later. If you run out of Easy questions and you're too far from being able to do Mediums, do random Easy problems that aren't on the lists. 2. Learning as you go is the quickest way I've found to gain mastery. I find it much faster than from books. Do you suggest an alternative?

  • @bobbobby3056
    @bobbobby3056 Жыл бұрын

    24 hour leetcode challenge o_o

  • @1UI1
    @1UI1 Жыл бұрын

    I once heard an engineering manager at Google say that achieving the optimal solution in an interview (for a junior) is one of several factors that are considered. How true is this?

  • @qiqi_impact_official

    @qiqi_impact_official

    Жыл бұрын

    When any company asks a LeetCode question, they are looking for a single "correct" algorithmically optimal solution, so it is always a factor.