How to Use LeetCode Effectively

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

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

  • @PIRATEKINGDOM
    @PIRATEKINGDOM  ปีที่แล้ว +12

    🎖️ $1000 OFF ANY Online Tech Bootcamps. See if you qualify for the JOB GUARANTEE! 👉 piratekingdom.com/deals/springboard
    💻 $300 DISCOUNT! Land a Tech Job with NO or little Coding! 100% Money-back guarantee! 👉 piratekingdom.com/deals/careerist
    🏅 LEARN CODING and EARN UNLIMITED CERTIFICATES from renowned institutions like GOOGLE, META & STANFORD! 👉 piratekingdom.com/courses/coding
    ⬆️ 100% FREE until you're hired! 1-on-1 career mentorship from top-notch professionals at FAANG 👉 piratekingdom.com/deals/pathrise
    🏄‍♂️ Get Elite REMOTE US software jobs from your HOME COUNTRY WITHOUT needing a VISA! 👉 piratekingdom.com/deals/turing

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

      Pirate king I became homeless cause inflation. Please help

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

      This List you gave us, should we follow this if we are only applying for junior front end web dev positions?
      String
      Two Pointers
      Sliding Window
      Binary Search
      Recursion
      Binary Tree
      Backtracking
      DFS
      BFS
      Graph
      Linked List
      Sort
      Trie
      Stack/Queue
      Priority Queue
      Dynamic Programming

  • @rafay1969
    @rafay1969 ปีที่แล้ว +990

    step 1: start by top 100 liked questions
    step 2: focus on the questions by topic
    step 3: order the questions from the highest to lowest acceptance rate
    step 4: learn from the solutions
    step 5: revisit the problems (one or two weeks later until you are 100% confident to solve them )
    step 6: solve company specific questions

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

      Thank you💯

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

      MVP

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

      The Real GOAT 🔥
      Thanks man.

    • @nt8yw88fe
      @nt8yw88fe 6 หลายเดือนก่อน +2

      thank you for making this list which is easy to copy paste, i'll be starting my journey from today.

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

      recommended study topic order: 2:00

  • @courtneynel7433
    @courtneynel7433 ปีที่แล้ว +62

    This is the best guide I’ve seen yet. I’ve been feeling so discouraged solving random easy problems and feeling like I’m not understanding a solution before moving onto a completely different algorithm. *mind blown*

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

      Hello, may I ask, are you in the university?

  • @codinghoca
    @codinghoca ปีที่แล้ว +88

    I totally agree with what you said about avoiding hard questions in the beginning, since it's pretty important to self-assess your level too -- one thing that stops a lot of people from continuing is basically picking problems that are too hard and getting discouraged. I've noticed a lot of people losing their momentum after failing too many problems and then basically giving up on them.

  • @sulemanosman7254
    @sulemanosman7254 ปีที่แล้ว +47

    Leetcode study strategy:
    1: Start with top 100 liked questions
    - 50 easy and medium questions
    2: Focus on category topics and patterns associated with different topics

    - Do about 20 questions or so per topic to understand the pattern
    - Recommend list of topics to start
    :String
    :Two pointers
    :Sliding window
    :Binary search
    :Recursion
    :Binary tree
    :Backtracking
    :DFS
    :BFS
    :Graph
    :Linked list
    :Sort
    :Trie
    :Stack/Queue
    :Priority Queue
    :Dynamic programming

    3: Order questions from highest - lowest acceptance rate:
    - Some mediums are easier than some easy questions
    - and some easy questions are harder than some hard questions
    - reason is difficulty level is subjective and system determined
    - acceptance rating is objective and community determined
    4: Learn from the solutions:

    - Don't spend more than 45 min on each problem
    - Learn from the solutions after attempting to learn the PATTERN
    - Following questions of similar topics should become easier once the pattern is understood
    - Looking at the solutions is like learning from expert
    - Try to attempt first, than study solution after 45 min
    5: Revisit the problems:

    - After studying the solution revisit problem 1 week later
    - This will help to ensure solutions understanding is there and not just memorization
    6: Solve company specific questions:
    - This will require leet code premium
    - Questions are grouped company specific
    - Also focus on frequency of the problems per company
    - Seems to be accurate from others experience, no guarantee company will ask
    All the best everyone !!!

  • @apriil9822
    @apriil9822 ปีที่แล้ว +76

    1. Start with the top 100 liked questions
    2. Focus on the questions by topic
    3. Order the questions from the highest to lowest acceptance rate
    4. Learn from the solutions
    5. Revisit the problems
    6. Solve company-specific questions

  • @DanishTroll87
    @DanishTroll87 10 วันที่ผ่านมา

    Thank you a lot, this video was very insightful. I had just made a leetcode account and felt loss, not just regarding the questions but also with the UI.

  • @leonardomachado3118
    @leonardomachado3118 ปีที่แล้ว +23

    1- Start with the top 100 Liked Questions
    Its questions are aborded by the community and other ones by the platform. The questions are valued by the community if those questions are helpful, clear and practical. Start with the 50 questions easy and medium questions avoid hard ones in the beginning, so earn how to play the game.
    2- Focus on the questions by topic
    Choose a topic and resolve most of the problem by the topic, and solve at least 20 questions.
    3- Order the questions from the highest to lowest acceptance rate
    Don’t just solve easy challenges. Challenge yourself, of course, if you think that can solve the problem.
    4- Learn from the solutions
    Don’t spend more than 45 minutes on each problem if you are stuck look at the answer and move on. Looking at the solutions is the fastest way to learn from the expert try to solve the challenge for yourself but if you can’t learn from the solutions.
    5- Revisit the problems
    If you look at the absolution you probably can’t solve it a week later. Make sure to revisit the problem until you are confident 100%.
    6- Solve company-specific challenges
    When you are ready for a challenge you might solve problems by a specific company it doesn’t mean that those questions will show in your interview but the list it’s pretty accurate.
    Have a nice code, people!

  • @kamalprajapati9955
    @kamalprajapati9955 7 หลายเดือนก่อน +1

    This guide was very helpful and comforting for me to get started on Leetcode. Thank you

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

    I’m looking to go into data engineering/ ML engineering after my bootcamp but I still just subbed because I really enjoy your content delivery!

  • @jeffmullins691
    @jeffmullins691 ปีที่แล้ว +11

    Please keep up this helpful content! I started my journey to become a web developer 2 months ago and you have been a ton of help!

  • @souljarohill8795
    @souljarohill8795 5 วันที่ผ่านมา

    The way im doing it is im mixing topics. So Im trying to do 5 problems each session which will be 3 hours long. Sometimes I wont be able to do all of them, but each problem is a different topic. Giving myself 20 mins to solve. If I cant solve it then will look at the solution and try to understand it fully. Also will put that problem in a try again problem and will try it again at my next study session. Then try it once more in 2 weeks to ensure I understood it. Rinse and Repeat. If i solved the problem on first try in time then I will just move on because I know how to solve it. Problems I didnt get to in the study session will be added to the next study session and will be done first. Will be sure to check back in 10 weeks to see where my progress is

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

    Hi pirate king , i just wanna say that you're amazing and what you do is amazing thank you

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

    7. Forget all advice and do whatever you like

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

    These are good steps for LeetCode and straight to the point. I appreciate it.

  • @Balanceiskey-nd6el
    @Balanceiskey-nd6el 4 หลายเดือนก่อน

    This is such a fantastic video. Now I have structure as I start studying. Thank you so much, Pirate! Very organized video, everything made sense to me, and it was very reassuring. :)

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

    This was surprisingly very helpful. Thank you!

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

    Hi, thanks for the tips! I'm comming back into the training (5 years working currently) and sadly there are a lot of easy "problems" that are so hard, but yes, its all because they ask us things that normally we dont more than solve a specific problem or mutate a specific data. We NEED to know about performance and time complexity,
    Regrds from Chile

  • @Omar-so7nd
    @Omar-so7nd 7 หลายเดือนก่อน

    your motion is mad zesty but the advice is golden mr piratekingdom

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

    Thanks to you i finally got started on my leetcode journey

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

    Thanks.. I'm learning from you a lot ... Thanks for the sense of sharing that you have .. keep going.
    P.S: you have a lovely smile

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

    Absolute gold! Very clear and short explanation. Great job, King!

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

    This helped me a lot. Something I've being doing similar to what is said in the video is looking at the solutions. I just don't summit the a solution if I was not able to write all the code myself. Hope that helps someone.

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

    This video helped me with the guidance and planning I needed. Thanks a lot.
    Imo, planning is 90% of the work. If the work is well planed I'll spend less time doing it.

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

    This is great! Thank you! I'm almost done with my first 100!

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

    Among all coders in industry you told correct way how to learn coding

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

    Thank you so much Sir You dont know how bad and dumb i used to feel because i used to see the code from the solution

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

    2:00 I'm following your topic list. Thanks ❤😊👍

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

    Thanks! Do you recommend leetcoding and reading Cracking the coding interview book at the same time?

  • @lamineemb
    @lamineemb ปีที่แล้ว +18

    For me i find it very surprising that even being an Android Developer for a year , I can't even solve the leetcode easy problems😂

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

      Thank God I am not the only one. But I still didn't get a job.

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

      Because all of these "problems" require a set of very specific ways of solving tasks that are unnecessary when in your project you just simply want to count something or do simple CRUD operations

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

    Acceptance rating is also misleading because people can copy paste the solution first time from the solutions section and hit submit :)

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

    Very good video thank you for the advice!!

  • @mr.damian6843
    @mr.damian6843 ปีที่แล้ว

    hell yeah, finally i found something usefull thanks a lot man, you earn a new suscriber =)

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

    Love ur video always ;)
    btw when u got time make us meet player number 220 !

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

    solid advidse thanks!

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

    Whats the platform that you were using?

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

    This helps a lot, thank you

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

    Alright, i have a small question.
    When someone will be ready to start doing leetcode? After he learns the basics from a language? What if someone just started coding and he doesnt know stuff? Approach LeetCode after you finish your studies / Bootcamp ?

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

      Start LeetCode after you've learned Data Structure & Algorithms

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

      @@PIRATEKINGDOM Perfect! Thanks a lot , keep it up.

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

    This video is extremely useful. I'm telling you ❤
    Thanks 👍👍

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

    So is LeetCode only for coding languages or can I use it for learning Statistics? How about learning libraries such as Panda or Numpy?

  • @趙珂蘭
    @趙珂蘭 ปีที่แล้ว

    Thank you. That's really helpful!

  • @md.mahfuzurrahman8219
    @md.mahfuzurrahman8219 ปีที่แล้ว

    Solid advice 💯 ...

  • @lifelessons2177
    @lifelessons2177 ปีที่แล้ว +434

    give 3 months day and nights to study leet code so that you can get fired after 10 to 15 years of your job

    • @grandparick3176
      @grandparick3176 ปีที่แล้ว +119

      I would be glad to clear the coding interview and get the job in the first place.

    • @fifimimi6834
      @fifimimi6834 ปีที่แล้ว +182

      10 to 15 years at google is good money

    • @toppu10animes
      @toppu10animes ปีที่แล้ว +133

      Wtf is your point?

    • @lifelessons2177
      @lifelessons2177 ปีที่แล้ว +32

      spend your time doing something which will last even after 15 years. Here you will spend endless amount of time learning DSA and let's say you get into a good MNC but still you will spend every day thinking is this my last day am I gonna get fired ?
      Believe me I have spent endless amount of time watching these stupid DSA videos. cracked couple of interviews myself. nearly completing 9 years in this industry that's why I am telling you this. It is not worth to work for someone else in this world. @Toppu10 - Seu Canal Semanal de Cultura Japonesa!

    • @lifelessons2177
      @lifelessons2177 ปีที่แล้ว +9

      FYI that's what this guy is doing he is smart he has created multiple income streams and left corporate hell

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

    do you recommend getting the pro subscription or is the free plan sufficient enough?

  • @RicardoMontaner-ww1tn
    @RicardoMontaner-ww1tn ปีที่แล้ว

    Hey! I have a question, how much time should I take to solve one problem and jump to another? What if I could not solve it in 2 days?
    Thanks great content

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

      give it 45 min and try to see solutions or resources. spending 2 days for one challenge isn't time effective.

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

    Hey @PIRATEKINGDOM Yo ho ho
    Is it enough to practise LeetCode only to master DSA or is it required to get any theoretical knowledge from additional sources?
    Does it make sense to start from the Explore section on LeetCode contains a big count of articles and examples inside each topic before go ahead with lists like the top 100 liked questions?

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

    Hi dear,
    Now I am in 2nd year. My plan to get an internship offer from a good tech company. If I am good at DSA Which one should I focus now leetcode or competitive programming?
    Thank You❤

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

    Why am I not able to visit any page from the description

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

    good advice

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

    How many hours a day for 3 months will this take? Might've missed it.

  • @mr.erikchun5863
    @mr.erikchun5863 ปีที่แล้ว +1

    Thanks asian Howard Wolowitz

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

    What does acceptance rate mean exactly?

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

    Excellent

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

    "clicks" nice pun lol (am i a nerd for getting that)

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

    is this a reupload?

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

    thx so much

  • @gamelifer234
    @gamelifer234 ปีที่แล้ว +8

    So I just finished CS50 course and really liking Python. So I went ahead and watched a 12-hr tutorial about it.
    You mentioned one should try to master a language deeply before exploring others. Should I just focus on Python and do leetcode for the next 3 months as planned, or try to learn a little more on HTML/CSS/JS/SQL/etc.
    I'm worried that if I'm too piegon-holed into Python, I'm missing potential easy solutions solved by using other languages. Just like how you can do a lot of things with C language but Python made it infinitely easier, I'm afraid of spending inefficient hours by relying on Python only.
    Thoughts? Really would love feedback from more experienced coders out there.
    Thanks!

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

      If the goal is to clear interviews id definitely just focus on leetcoding with python. At the end of the day the technical interview is just to see if you can logically think through a problem and apply data structures and algorithms to solve the problem and explain your thought process. Assuming you can do that most company’s aren’t really focused on how well you know a specific technology. Unless its for a very specialized skill set where you have to know the domain well (AI, Mobile, embedded). But, if its a general SWE position at a large tech company, leetcode is king. I’ve done coding interviews in python and passed and went to work on a team a team doing java development which i had to learn on the job. But, if you want to learn other tech too, maybe set aside a day or two out the week to just focus on your HTML/CSS/JAVASCRIPT if you also want experience with other tech too.

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

      you will find a job where you will only need python so you better be the best as you can at it

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

      If you're trying to become a web developer, i'd say learn more HTML/CCS/JS and do leetcode later or combine it. So 1/2 hours a day for leetcode and the remaining hours for HTML/css/js or vice versa. If its SWE you're aiming for (like Rod said) then grind leetcode first. HTML/CSS/JS is pretty easy to learn compared to DSA (Datastructures and Algorithms)

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

      Studying for web development and Python in general is kinda double edged sword. If you want to land a job as a self taught web dev then you should have some projects in your resume so recruiters have something to see. But then when you go to the interview they will ask you to solve leet code questions which is something completely different than web development. So it's kinda tricky. I recommend doing some 4-5 projects you can put online so people can see and start applying for jobs. Then start doing leet code questions.
      You do this because you will probably bomb first one or two interviews but it will be a good experience and practice while still giving yourself time to grind leet code

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

      @@65MaX73 Very sound advice. Thank you so much for your input!

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

    Kaijoku orewa naru!

  • @APragmaticProgrammer-yl5pm
    @APragmaticProgrammer-yl5pm ปีที่แล้ว

    thanks

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

    helpfull content

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

    This guy hasn't changed his haricut since highschool

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

    can someone tell me what language should i know to solve lleetcode problems?i went there but i was having hard time knowing what is going on. What stuff should i know for me to go there?

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

      Just solve it using the language you are confident in imo

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

    PIRATE KING !!!

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

    참고해야짛ㅎ 감사합니다!

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

    is your youtube name a one piece reference?

  • @MariadeLourdesAniesSanch-ze7hf
    @MariadeLourdesAniesSanch-ze7hf ปีที่แล้ว

    but I think try is good

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

    Just looked at the questions, and I can't solve any of them, even the easy ones ;-;

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

    SUSPICIOUS WINK

  • @MariadeLourdesAniesSanch-ze7hf
    @MariadeLourdesAniesSanch-ze7hf ปีที่แล้ว

    I don't know
    maybe yes o no

  • @s8x.
    @s8x. ปีที่แล้ว

    help me plz

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

    n queens ☠

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

    2:03

  • @rajasaraf6602
    @rajasaraf6602 11 หลายเดือนก่อน +1

    One piece is REAL !

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

    Imma speed run leetcode ez

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

    Shix steps shtrategy lol

  • @AliHaider-bc7cl
    @AliHaider-bc7cl 8 หลายเดือนก่อน

    im subscribing if ur not gay
    i subbed n unsubbed
    i need to know!!!!!!!!!!!!!!!!!!!!!1

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

    How do you solve burnout? I've done like 90 questions and am totally over it.

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

      My recommendation would be, don't do a lot in one sitting, give leetcode 90 minutes a day and move on into something else.