How to Use LeetCode Effectively

How to Use LeetCode Effectively


How to Use LeetCode Effectively

๐Ÿ“ My ULTIMATE LeetCode Cheat Sheet ๐Ÿ‘‰ https://piratekingdom.com/leetcode
๐ŸŽ–๏ธ $1000 OFF ANY Online Tech Bootcamps. See if you qualify for the JOB GUARANTEE! ๐Ÿ‘‰ https://piratekingdom.com/deals/sprinโ€ฆ
๐Ÿ’ป $300 DISCOUNT! Land a Tech Job with NO or little Coding! 100% Money-back guarantee! ๐Ÿ‘‰ https://piratekingdom.com/deals/careeโ€ฆ
โฌ†๏ธ 100% FREE until youโ€™re hired! 1-on-1 career mentorship from top-notch professionals at FAANG ๐Ÿ‘‰ https://piratekingdom.com/deals/pathrise
๐Ÿ„โ€โ™‚๏ธ Get Elite REMOTE US software jobs from your HOME COUNTRY WITHOUT needing a VISA! ๐Ÿ‘‰ https://piratekingdom.com/deals/turing
๐Ÿค‘ FREE Stuff + Great Deals ๐Ÿ‘‰ https://piratekingdom.com/deals
๐Ÿ“– FREE Software Development CURRICULUM ๐Ÿ‘‰ https://piratekingdom.com/curriculum/โ€ฆ
๐Ÿ“„ Download PKโ€™s ULTIMATE FAANG Resume ๐Ÿ‘‰ https://piratekingdom.com/resume
โš™๏ธ My YouTube \u0026 Couch Setups ๐Ÿ‘‰ https://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 ๐Ÿ‘‰ https://piratekingdom.com/courses/coding
๐Ÿ… LEARN CODING and EARN UNLIMITED certificates from renowned institutions like GOOGLE, META \u0026 STANFORD with Coursera Plus! ๐Ÿ‘‰ https://piratekingdom.com/deals/coursera

๐Ÿ’ป Coding
- Crash Course on Python by Google: https://imp.i384100.net/MXPxzK
- Front-End Developer by Meta: https://imp.i384100.net/156NGd
- Back-End Developer by Meta: https://imp.i384100.net/QOBQKA
- Introduction to Programming with Python \u0026 Java: https://imp.i384100.net/7m4Nby
- Java Programming \u0026 Software Engineering by Duke: https://imp.i384100.net/rnVPgR
- HTML, CSS \u0026 JavaScript for Web Developers: https://imp.i384100.net/LPJNDZ

โ˜๏ธ Cloud
- Google Cloud Engineer: https://imp.i384100.net/AodrMx
- Google Cloud Security Engineer: https://imp.i384100.net/Jr91yr
- Google Cloud Machine Learning Engineer: https://imp.i384100.net/e43DZD
- AWS Cloud Solutions Architect: https://imp.i384100.net/VyJn3a
- Microsoft Azure Developer Associate: https://imp.i384100.net/BXNjox

๐Ÿ’พ Data
- Google Data Analytics: https://imp.i384100.net/jWNP6v
- Google Cloud Data Engineer: https://imp.i384100.net/kjy52n
- Meta Database Engineer: https://imp.i384100.net/5bWR09
- Microsoft Azure Data Scientist Associate: https://imp.i384100.net/9WmNd0

๐Ÿ–ฅ๏ธ Others
- Meta Android Developer: https://imp.i384100.net/P0eodX
- Google IT Automation with Python: https://imp.i384100.net/x9eB6d
- Google IT Support: https://imp.i384100.net/LPjJdL
- Google Project Management: https://imp.i384100.net/QOaBdM
- Google UX Design: https://imp.i384100.net/rn9VN5

๐Ÿค SkillShare (One subscription, UNLIMITED ACCESS) ๐Ÿ‘‰ https://piratekingdom.com/deals/skillโ€ฆ
- Coding for Beginners: https://skillshare.eqcm.net/vnXRJv
- JavaScript for Beginners: https://skillshare.eqcm.net/Zd297X
- Website Development with Python \u0026 Flask: https://skillshare.eqcm.net/9WN575
- Complete React Basics 101: https://skillshare.eqcm.net/DV5Xv2

๐Ÿ“š Recommended Books ๐Ÿ‘‰ https://piratekingdom.com/books/coding
- Python Crash Course: https://amzn.to/3w9S8BL
- Web Design with HTML, CSS, JavaScript: https://amzn.to/3XpNRph
- Grokking Algorithms (Beginner): https://amzn.to/3Xq3zAQ
- Cracking the Coding Interview: https://amzn.to/3Qz22WN
- Automate boring stuff with Python: https://amzn.to/3k5yW50

๐Ÿ’ธ Deals ๐Ÿ‘‰ https://piratekingdom.com/deals
๐ŸŽ–๏ธ $1000 OFF ANY Bootcamps (Coding, Data Science, UI/UX, Cyber Security) ๐Ÿ‘‰ https://www.piratekingdom.com/deals/sโ€ฆ
๐Ÿ“„ My ULTIMATE FAANG Resume ๐Ÿ‘‰ https://piratekingdom.com/resume

Study the topics in this order:
Recursion - Two Pointers - Binary Search - Binary Trees - Backtracking - DFS - BFS - Sliding Window - Linked List - Graph - Sorting

๐Ÿ‘‘ BE MY FRIEND ๐Ÿ‘‘
๐ŸŒ Website - https://piratekingdom.com
๐ŸŽฎ Discord - https://piratekingdom.com/discord
๐Ÿ“ท Instagram - https://piratekingdom.com/instagram
๐Ÿ’ผ LinkedIn - https://piratekingdom.com/linkedin
๐Ÿฆ Twitter - https://piratekingdom.com/twitter

Timeline
0:00 Intro
0:55 Step 1 - Get Premium Subscription
1:39 Step 2 - Start with LeetCode 100 Liked Questions
2:35 Step 3 - Focus on Topic by Topic
4:32 Step 4 - Practice with a Plan
6:20 Step 5 - Solve Company-Specific Questions
7:20 Summary \u0026 Closing

#LeetCodePlan #LeetCodePrep #HowToLeetCode
#Microsoft #SoftwareEngineer #pirateking

Top 100 Liked Questions: https://leetcode.com/problemset/all/?โ€ฆ
seanprashad Leetcode Patterns: https://seanprashad.com/leetcode-pattโ€ฆ
Blind 75 Curated List: https://www.teamblind.com/post/New-Yeโ€ฆ

โ—๏ธ All opinions are my own and not my employerโ€™s.

Filmed with iPhone SE 2
Music by Yeri

PIRATE KING
Software Engineer + Career Mentor in Tech


Content

0.24 -> welcome to fire king i'm daniel the
2.08 -> software engineer at microsoft
3.6 -> ex-software engineer at amazon and ebay
5.68 -> and also a software engineering mentor
7.839 -> at two educational startups here we talk
9.92 -> about tips and tricks on how to land a
11.759 -> successful career in tech so if you're
13.92 -> interested in learning the clever
15.28 -> strategies that increase your chance on
17.119 -> landing the jobs make sure to subscribe
19.76 -> in this video i'm going to share an
21.76 -> effective strategy on how to prepare for
24.4 -> lead code i have broken down the
26.16 -> strategy into five steps that will help
28.48 -> you build a strong foundation on coding
30.88 -> interview skills as quickly as possible
32.88 -> the motivation behind this is that as a
35.68 -> software engineering mentor i have found
37.84 -> so many people having trouble figuring
39.92 -> out where to even begin if you are one
42.399 -> of those guys intimidated by the sheer
44.399 -> number of questions on the platform
46.32 -> unsure where to start and unconfident
48.559 -> that you can pull this off yourself make
50.559 -> sure to stay until the end because i
52.239 -> guarantee that you walk away with a
54 -> clear game plan step one the very first
56.48 -> thing you should do is getting that
58.16 -> premium subscription it's 35 per month
60.8 -> or 160 dollars per year and no i was not
63.84 -> paid to say this despite the cost i
65.92 -> recommend it because it's totally worth
67.92 -> it i had my premium when i prepared for
69.84 -> amazon and microsoft its access to
72 -> company specific questions is a must if
74.32 -> you want to drastically increase the
76.159 -> chance of landing a job for that company
78.56 -> if you also think about it you will
80 -> easily make six figures in salary if you
82.08 -> get into renowned companies you'll still
84 -> make a decent amount anywhere else
85.52 -> because the salary for software
87.119 -> engineers starts at around 70k in the us
90.64 -> and i can't imagine anyone not serious
93.2 -> about becoming a software engineer
94.88 -> having interest in lead code anyways so
97.119 -> make that investment for your future
99.2 -> step two start with the top hundred
101.52 -> liked questions these are not the
103.119 -> questions handpicked by an individual or
105.28 -> lead code itself but the questions liked
107.36 -> by the entire community the other lead
109.52 -> coders if there's a reason why people
111.28 -> upvote certain questions let me explain
113.2 -> by giving examples of those that are
114.88 -> down voted a question is heavily
116.64 -> downvoted if it has too many tedious
118.56 -> edge cases it's not very clear or hard
120.96 -> to understand it doesn't require general
123.2 -> data structure and algorithms but very
124.88 -> specific knowledge like math tricks or
127.2 -> if the solution's just too messy
129.84 -> ew it's those questions you should avoid
132.4 -> in the early stage because you want to
134.4 -> concentrate on the ones that are simple
136.8 -> and easy to follow first questions that
139.2 -> explore the core concepts of data
141.28 -> structure and algorithms yet are clean
143.28 -> and straightforward are the ones that
145.2 -> are great for establishing that solid
147.44 -> foundation i recommend starting with
149.44 -> about 50 questions here avoid heart for
151.84 -> now get a sense of where you are with 50
153.84 -> easies and mediums first step three
156.319 -> after you've explored the hundred like
158 -> questions it's time to focus on the
160.08 -> questions topic by topic don't just run
162.48 -> out of solving random questions you've
164.239 -> already done that from the 100 liked
165.92 -> questions its purpose is to give you a
168.16 -> taste of the platform and set the right
170.239 -> expectations now that you have a taste
172.319 -> of what coding interview questions are
173.68 -> like it's time to choose a topic and
175.92 -> start drilling down don't just blindly
178.4 -> attempt easies how leeco determines the
180.319 -> question's difficulty is subjective and
182.8 -> thus often inaccurate instead order them
185.84 -> from highest to lowest acceptance rate
187.84 -> it's objective because the data is
189.519 -> community driven in fact the acceptance
191.76 -> rate of some easys is lower than 50
194.319 -> while that of some mediums are higher
196.319 -> than 80 percent leverage the stats let
199.44 -> me tell you why this is effective as you
201.599 -> solve more and more questions from the
203.12 -> same topic you'll start to realize that
205.2 -> there's a pattern to it realizing the
207.36 -> pattern is basically the winning formula
209.68 -> the template and the very algorithm you
212.08 -> need to be successful at decoding once
214.319 -> you've mastered it or get that tick from
216.56 -> your brain you'll realize that you can
218.48 -> use it to solve most of the problems in
220.48 -> the topic for example the binary search
222.959 -> implementation that finds the left most
224.959 -> occurrence of an element the four ways
226.959 -> to traverse a binary tree dfs and bfs
229.519 -> templates and a 2d array or a graph two
232.159 -> pointers memorization tabulation what
234.799 -> would be a good situation to use stack a
236.72 -> queue recursion or dummy nodes you won't
239.76 -> see what i mean if you just jump off
241.519 -> solving questions randomly it's best
243.599 -> understood by practicing similar
245.439 -> questions in the same topic here's my
247.519 -> recommendation solve at least 20
250 -> questions or until you get that tick for
252.799 -> each topic before moving on here's my
255.12 -> list of topics to start you off
257.6 -> you don't have to follow this list just
259.6 -> remember for any topic you choose make
262.4 -> sure to practice until you fully
264.08 -> understand the pattern it's the key to
266.08 -> solving any questions within that topic
268.24 -> and once you feel confident with the
269.84 -> topic move on to the next rinse and
272 -> repeat step four now that you have this
274.56 -> mini curriculum practice with a plan one
277.44 -> don't attempt hard now start with easy
279.6 -> and medium go for hard when you think
281.84 -> you're ready trust me you'll know as you
284.08 -> practice two don't spend more than 30
286.639 -> minutes on an easy and an hour on a
289.04 -> medium in an ideal setting we would try
291.36 -> to solve a question with our strength
292.88 -> alone however if you're lead coding
295.04 -> chances are you're doing it for jobs and
297.36 -> obviously we don't have all the time in
299.919 -> the world if you can't solve it just
302.08 -> look up the solution and quickly move on
303.84 -> three
304.72 -> learn from the solutions like i said
306.4 -> earlier if you focus on solving problems
308.4 -> in the same topic you'll start to see
310.479 -> the pattern and the techniques that you
312.4 -> need and the best place to learn those
315.199 -> is none other than the solutions you can
317.84 -> also find solutions outside lead code as
320.56 -> well for example there are a ton of
322.8 -> videos on youtube that actually does a
325.28 -> better job at explaining than lead code
327.84 -> four use the discuss tab if the
329.6 -> solution's not available on neither
331.199 -> liquid nor youtube look them up in the
333.28 -> discuss tab you'll be amazed at the
335.28 -> thousands of brilliant people in this
337.44 -> world look at the clever tricks these
339.199 -> smart people use and learn from them
341.44 -> another reason why looking at the
342.639 -> discussion board is helpful is because
344.8 -> it helps you discover ways to optimize
347.36 -> your code remember runtime complexity
349.6 -> it's not that uncommon for you to submit
352.08 -> a solution that's accepted by lead code
354.72 -> yet it's still not optimal companies are
357.28 -> not looking for any candidates who can
359.199 -> just brute force their way through
360.88 -> they're looking for those who can
362.4 -> optimize and find better ways to solve
364.639 -> the same problem lastly five revisit
367.68 -> your questions if you had to look up the
369.36 -> solution to solve a question the chances
371.36 -> are you won't be able to solve it a week
373.28 -> later but do make sure to revisit them
375.919 -> just in case to confirm that you could
377.759 -> still solve it besides it's a good way
379.84 -> to review finally step five solve
382.479 -> company specific questions after you've
384.8 -> solved a good number of questions and
386.479 -> gained a good understanding of how the
388.479 -> coding interviews are like it's finally
390.639 -> the time to actually do one do you have
393.44 -> an upcoming interview with the company
395.36 -> well take a look at the list of
397.039 -> companies available on lead code this is
399.199 -> where the legal premium really shines
401.12 -> you can filter the questions by
402.639 -> companies you can even order the
404.4 -> questions by their frequency in a select
406.479 -> time period all these wouldn't have made
408.96 -> sense however if the data is inaccurate
411.68 -> from my own experience it's pretty damn
413.919 -> accurate in fact my bar raiser question
416.319 -> on amazon on site was one of the
418.639 -> questions here
420 -> three out of seven questions i was asked
421.919 -> at microsoft were from the list two you
424.319 -> might think that less than 50 accuracy
427.36 -> isn't that high but given you don't need
429.28 -> to be perfect to land a job being able
431.44 -> to ace even one is enough to put you in
434.4 -> a great position by the way if you're
436.56 -> interested in how i aced my microsoft
438.08 -> interview you can check that out here
440.72 -> so we've covered the five steps that
442.88 -> help you effectively prepare for lead
444.72 -> code let me summarize them again for you
446.8 -> those steps are one get the premium
448.88 -> subscription 2. start with the top 100
451.919 -> like questions 3. focus on questions
454.4 -> topic by topic 4. practice with a plan
457.199 -> and lastly 5 solve company specific
459.68 -> questions i don't want to ask this
461.28 -> question can you share the interview
463.039 -> questions you have for amazon and
464.479 -> microsoft well i can i always record
466.879 -> those after each interview but let me
468.56 -> ask you this will that really help you
471.52 -> there are a thousand amazon questions
473.599 -> and more than 600 microsoft questions on
476.24 -> the code the chances are you won't get
478.319 -> the same question anyways but if you
480.319 -> really do it would simply mean that you
482.879 -> had practiced the ones here the point is
486.08 -> establish that foundation you know
488.639 -> yourself that simply solving the
490 -> questions i got won't be enough make
492.479 -> sure to follow my steps practice you'll
494.879 -> find yourself improving day by day
497.039 -> remember it's all in here check out the
500.24 -> description below because i put some
501.84 -> useful resources and links in it don't
503.84 -> forget to comment like and subscribe
505.84 -> coming up next why i left amazon thanks
508.8 -> for watching i'll see you guys in the
510.08 -> next one
519.96 -> [Music]
523.76 -> you

Source: https://www.youtube.com/watch?v=a-thH9a9_XE