How to Use LeetCode Effectively

Поділитися
Вставка
  • Опубліковано 20 січ 2023
  • 🎖️ $1000 OFF ANY Online Tech Bootcamps. See if you qualify for the JOB GUARANTEE! 👉 piratekingdom.com/deals/sprin...
    🤖 PK's AI-powered quiz app 👉 piratekingdom.com + click "AI"
    ⬆️ 100% FREE until you're hired! 1-on-1 career mentorship from top-notch professionals at FAANG 👉 piratekingdom.com/deals/pathrise
    ⚛️ Get promotions and pay raises faster! 👉 piratekingdom.com/deals/taro
    🏄‍♂️ Get Elite REMOTE US software jobs from your HOME COUNTRY WITHOUT needing a VISA! 👉 piratekingdom.com/deals/turing
    🤑 FREE Stuff + Great Deals 👉 piratekingdom.com/deals
    📖 FREE Software Development CURRICULUM 👉 piratekingdom.com/curriculum/...
    📝 My ULTIMATE LeetCode Cheat Sheet 👉 piratekingdom.com/leetcode
    📄 Download PK's ULTIMATE FAANG Resume 👉 piratekingdom.com/resume
    ⚙️ My UA-cam & Couch Setups 👉 piratekingdom.com/tech
    🔆 Some of these are affiliate links, and I may earn commissions from qualifying purchases. Using these links is the best way to support me at no cost to you!
    📖 Recommended Courses 👉 piratekingdom.com/courses/coding
    🏅 LEARN CODING and EARN UNLIMITED certificates from renowned institutions like GOOGLE, META & STANFORD with Coursera Plus! 👉 piratekingdom.com/deals/coursera
    💻 Coding
    - Crash Course on Python by Google: imp.i384100.net/MXPxzK
    - Front-End Developer by Meta: imp.i384100.net/156NGd
    - Back-End Developer by Meta: imp.i384100.net/QOBQKA
    - Introduction to Programming with Python & Java: imp.i384100.net/7m4Nby
    - Java Programming & Software Engineering by Duke: imp.i384100.net/rnVPgR
    - HTML, CSS & JavaScript for Web Developers: imp.i384100.net/LPJNDZ
    ☁️ Cloud
    - Google Cloud Engineer: imp.i384100.net/AodrMx
    - Google Cloud Security Engineer: imp.i384100.net/Jr91yr
    - Google Cloud Machine Learning Engineer: imp.i384100.net/e43DZD
    - AWS Cloud Solutions Architect: imp.i384100.net/VyJn3a
    - Microsoft Azure Developer Associate: imp.i384100.net/BXNjox
    💾 Data
    - Google Data Analytics: imp.i384100.net/jWNP6v
    - Google Cloud Data Engineer: imp.i384100.net/kjy52n
    - Meta Database Engineer: imp.i384100.net/5bWR09
    - Microsoft Azure Data Scientist Associate: imp.i384100.net/9WmNd0
    🖥️ Others
    - Meta Android Developer: imp.i384100.net/P0eodX
    - Google IT Automation with Python: imp.i384100.net/x9eB6d
    - Google IT Support: imp.i384100.net/LPjJdL
    - Google Project Management: imp.i384100.net/QOaBdM
    - Google UX Design: imp.i384100.net/rn9VN5
    🤝 SkillShare (One subscription, UNLIMITED ACCESS) 👉 piratekingdom.com/deals/skill...
    - Coding for Beginners: skillshare.eqcm.net/vnXRJv
    - JavaScript for Beginners: skillshare.eqcm.net/Zd297X
    - Website Development with Python & Flask: skillshare.eqcm.net/9WN575
    - Complete React Basics 101: skillshare.eqcm.net/DV5Xv2
    📚 Recommended Books 👉 piratekingdom.com/books/coding
    - Python Crash Course: amzn.to/3w9S8BL
    - Web Design with HTML, CSS, JavaScript: amzn.to/3XpNRph
    - Grokking Algorithms (Beginner): amzn.to/3Xq3zAQ
    - Cracking the Coding Interview: amzn.to/3Qz22WN
    - Automate boring stuff with Python: amzn.to/3k5yW50
    🎥 Relevant Videos 🎥
    ▶️ My Ultimate LeetCode Tricks 👉 • MY ULTIMATE LEETCODE T...
    🚀 BE MY FRIEND 🚀
    🌐 Website - piratekingdom.com
    💼 LinkedIn - piratekingdom.com/linkedin
    📷 Instagram - piratekingdom.com/instagram
    🎮 Discord - piratekingdom.com/discord
    🐦 Twitter - piratekingdom.com/twitter
    👍 Facebook - piratekingdom.com/facebook
    🎶 TikTok - piratekingdom.com/tiktok
    🐙 GitHub - piratekingdom.com/github
    ❗️ All opinions are my own and not my employer's.
    #leetcode #coding #interview
    #cracking #faang #pirateking

КОМЕНТАРІ • 130

  • @PIRATEKINGDOM
    @PIRATEKINGDOM  Рік тому +10

    🎖️ $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 Місяць тому

      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 Рік тому +835

    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 Рік тому +3

      MVP

    • @Eh1z
      @Eh1z Рік тому +3

      The Real GOAT 🔥
      Thanks man.

    • @nt8yw88fe
      @nt8yw88fe 25 днів тому +1

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

  • @courtneynel7433
    @courtneynel7433 11 місяців тому +40

    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 10 місяців тому

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

  • @jeffmullins691
    @jeffmullins691 Рік тому +10

    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!

  • @codinghoca
    @codinghoca Рік тому +76

    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.

  • @TheDorac1
    @TheDorac1 Рік тому +4

    This was surprisingly very helpful. Thank you!

  • @apriil9822
    @apriil9822 Рік тому +71

    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

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

  • @leonardomachado3118
    @leonardomachado3118 Рік тому +16

    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!

  • @samuelgodsanswers6154
    @samuelgodsanswers6154 Рік тому +2

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

  • @kamalprajapati9955
    @kamalprajapati9955 2 місяці тому +1

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

  • @rongitmukherjee
    @rongitmukherjee 9 місяців тому

    Thanks to you i finally got started on my leetcode journey

  • @joshhitech
    @joshhitech Рік тому +2

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

  • @user-pb6ld2pn2f
    @user-pb6ld2pn2f Рік тому

    Thank you. That's really helpful!

  • @klapaucius515
    @klapaucius515 Рік тому

    This helps a lot, thank you

  • @weekendsonlyy3947
    @weekendsonlyy3947 10 місяців тому +1

    Very good video thank you for the advice!!

  • @lamiaalama1295
    @lamiaalama1295 8 місяців тому

    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

  • @md.mahfuzurrahman8219
    @md.mahfuzurrahman8219 Рік тому

    Solid advice 💯 ...

  • @AnnatenBensel
    @AnnatenBensel 9 місяців тому

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

  • @th3j0t46
    @th3j0t46 8 місяців тому

    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.

  • @markz6431
    @markz6431 11 місяців тому +1

    solid advidse thanks!

  • @mr.damian6843
    @mr.damian6843 11 місяців тому

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

  • @robss9363
    @robss9363 Рік тому +3

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

  • @_tanzil_
    @_tanzil_ Рік тому

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

  • @misterl8129
    @misterl8129 3 місяці тому

    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 2 місяці тому

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

  • @_tanzil_
    @_tanzil_ Рік тому

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

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

  • @haridasification
    @haridasification Рік тому +1

    Excellent

  • @keingkraibuakeaw5049
    @keingkraibuakeaw5049 4 місяці тому

    thx so much

  • @m7mdarwani964
    @m7mdarwani964 Рік тому +2

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

  • @CSTutorCenter
    @CSTutorCenter 7 місяців тому

    good advice

  • @heymiiki12
    @heymiiki12 Рік тому

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

  • @roothere267
    @roothere267 Рік тому +2

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

  • @APragmaticProgrammer-yl5pm
    @APragmaticProgrammer-yl5pm 11 місяців тому

    thanks

  • @carlosacosta799
    @carlosacosta799 4 місяці тому

    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.

  • @toxic_narcissist
    @toxic_narcissist 9 місяців тому +3

    7. Forget all advice and do whatever you like

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

  • @nevermore7755
    @nevermore7755 Рік тому +1

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

  • @lamineemb
    @lamineemb Рік тому +15

    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 10 місяців тому

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

    • @ConspiracyCraftersStudio
      @ConspiracyCraftersStudio 4 місяці тому

      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

  • @fredh3152
    @fredh3152 3 місяці тому

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

  • @iralapraveen4383
    @iralapraveen4383 Рік тому

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

  • @gauravuttarkar9682
    @gauravuttarkar9682 Рік тому

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

  • @sayanbiswas3431
    @sayanbiswas3431 8 місяців тому

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

  • @bikashgorkhaligurung
    @bikashgorkhaligurung Рік тому

    Kaijoku orewa naru!

  • @fuggulite
    @fuggulite 5 місяців тому

    What does acceptance rate mean exactly?

  • @user-ds5rk6mf5t
    @user-ds5rk6mf5t 11 місяців тому

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

  • @RicardoMontaner-ww1tn
    @RicardoMontaner-ww1tn 11 місяців тому

    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 10 місяців тому

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

  • @bestchannels3471
    @bestchannels3471 Рік тому +2

    is this a reupload?

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

  • @mr.erikchun5863
    @mr.erikchun5863 Рік тому +1

    Thanks asian Howard Wolowitz

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

  • @sulemanosman7254
    @sulemanosman7254 8 місяців тому +29

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

  • @rongitmukherjee
    @rongitmukherjee 9 місяців тому

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

  • @vikingwarrior16
    @vikingwarrior16 Рік тому

    PIRATE KING !!!

  • @s8x.
    @s8x. Рік тому

    help me plz

  • @PJSCode69
    @PJSCode69 Рік тому +1

    SUSPICIOUS WINK

  • @joywinbarboza983
    @joywinbarboza983 7 місяців тому

    2:03

  • @MariadeLourdesAniesSanch-ze7hf
    @MariadeLourdesAniesSanch-ze7hf 7 місяців тому

    but I think try is good

  • @MariadeLourdesAniesSanch-ze7hf
    @MariadeLourdesAniesSanch-ze7hf 7 місяців тому

    I don't know
    maybe yes o no

  • @felxhus
    @felxhus 9 місяців тому

    is your youtube name a one piece reference?

  • @TrueTechLead
    @TrueTechLead 6 місяців тому

    This guy hasn't changed his haricut since highschool

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

    • @abcdefg91111
      @abcdefg91111 Рік тому +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 9 місяців тому +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 9 місяців тому

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

  • @alibutt1207
    @alibutt1207 Рік тому

    Can you show us a way for a beginner to learn coding with zero tech experience

  • @lifelessons2177
    @lifelessons2177 Рік тому +354

    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 Рік тому +93

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

    • @fifimimi6834
      @fifimimi6834 Рік тому +149

      10 to 15 years at google is good money

    • @toppu10animes
      @toppu10animes Рік тому +107

      Wtf is your point?

    • @lifelessons2177
      @lifelessons2177 Рік тому +25

      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 Рік тому +8

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

  • @qpiq9274
    @qpiq9274 Рік тому

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

  • @zeruic
    @zeruic Рік тому

    n queens ☠

  • @aviralarpan7350
    @aviralarpan7350 Рік тому

    Imma speed run leetcode ez

  • @General_Aladeen
    @General_Aladeen 11 місяців тому

    Shix steps shtrategy lol

  • @rajasaraf6602
    @rajasaraf6602 5 місяців тому +1

    One piece is REAL !

  • @AliHaider-bc7cl
    @AliHaider-bc7cl 2 місяці тому

    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.