How to Start Leetcode as a Beginner
Vložit
- čas přidán 27. 07. 2024
- #leetcode #computerscience #programming
How to Start Leetcode as a Beginner
In this video I go over how to start LeetCode as a beginner and some of the needed knowledge that you need to start. I know that starting LeetCode can seem like a big boring task but remember you are doing this for a reason. More knowledge and maybe a high paying salary may be at the end of your leetcode journey.
Remember that you are doing this for you and you only. Every problem that is solved must be done with full attention and NO COPY PAST ANSWERS!!
good luck with leetcoding.
Check Out My Website: www.bradleydallen.io/
Introduction: 00:00
Must know DS&A: 01:03
Tour of LeetCode (your new home): 02:09
How to Solve a LeetCode Problem: 03:04
What is the point of LeetCoding: 05:12
Solving a Leetcode Problem Example: 05:55
Outro: 08:10
CHANNEL LINKS FROM THE INTRO
TechLead: / @techlead
PIRATE KING: / @piratekingdom
Nick White: / @nickwhite
I want my channel to help beginners and people in general to have a clear goal in coding and programming in general.
Instagram: / bradley.d.allen
TikTok: / bradleydallen
#learntocode #computerscience #coding #programming #learning
Like, Comment, and Subscribe for more videos like this. - Jak na to + styl
Comment some tips that you know about LeetCode that can help others!
May I know what "Must know DS&A" means??
a) Should I first learn all the concepts at once and then start leetcode??
or
b) Should I learn one topic and do enough questions on it and then go to the next concept and repeat the process??
I would be thankful if you reply..
(please ignore grammatical mistakes if any)
I would learn topics and solve problems related to those topics. Its all about YOU. You have to learn these things. If it is easier to learn the DSA first then solve problems then do that. If you find something you don't know then you found something to dive into! Stay positive and thanks for watching!@@user-wl9fz
Where can I find any, actually good , free content which will help me learn DSA
Take your forward on youtube, or striver
@@smaransure2234
I think that the hardest part (but also a game changer) is to actually get your pen and paper and write out your solving. Very cool content man! Keep it up!
Yes! sorting out all the thinking your doing is a huge game changer when solving problems!!! Thanks for watching! 💪 good luck leetcoding!
Completely agree 💯
I just finished CS50. I typed super slowly + I remember more when I write things down. I wrote down so much lol
disagree, doing that is a tool but you really need to learn the art of simplifying the problem first
I just signed up for leetcode cause I was told to .. and that introduction was so relatable lmaooooo...
If your goals for leetcode is for interviews, interviewers will take leetcode questions and make some changes sometimes, so what I’ve been doing is
1. only reading the first sentence
2. then come up with all the clarifying questions that I can come up with on my own
3. Read the rest of the problem to see how close my guess was
4. Then problem solve to make sure your solving the right question in the interview
Do this will give practice for thinking about edge cases, and if you gotta gotta gotta talk out the thinking process… I haven’t seriously been interviewing, but soon will be. Thanks for the vid!
Leetcode is a tool!!!! Use it the way it works for you best. Thanks for watching 💪
As someone who started just recently, I'm really happy you made this video 🙌
You intro is so accurate. Great vid.
For a small channel, man this content was good. Keep up the work mate.
That intro was an instant sub. Awesome content man
Thank you for this very well-explained video.
Thank you so much man. This is great advice!
great explanations and advices thank you so much buddy
Beneficial and organized content, appreciated sub
thank u dude i'm a begginner at coding and english and these kind of videos are very useful, also i'd like to say that your voice and pronunciation of the english makes it easier to understand for someoe that english isn't his mother languange, thank u, nuew suscriber here :D
The starting of the video was so funny 😂 , I chose front end development because this Leetcode thing was so overwhelming 😔.
Finally someone someone with same experiance. Thankyou.
You know how to motivate man, thank you very much
Just subbed man! You deserve more than 3.3K Subs!
amazing explanation on how to use leet code....
The intro was lit dude !!
You caught me reading subtitles. You got a subscriber ;)
Amazing tips. I am currently learning DSA but keep getting interrupted by exams. Hope I will use these tips in 2-3 months. Thank You again Bradley !
I feel you man, I luckily this is my last exam season.
Good luck with your exams! and DSA!
This video is high quality, my man deserves more subs
Glad you liked it! 👍 Good luck Leetcoding
Thank you, and your voice is great
This video is really Awesome and open my mind about no. Of possibility
This was so helpful, I now understand why I have not been successful. I'll implement this and come back with a feedback. Thank you so much
Thank you for maintaining the southern accent bro. Seriously. We're losing our accent and our southern culture. When i hear people speak it, it keeps the spirit alive. thanks for uploaidn g the very helpful video!
Thank, Bradley.
Love your content.
Thank you! More tips please
cool content dude ! keep growing 🤟
Thank you! Good luck LeetCoding !!!
Great!
Thanks
thanks for the tips...
you got a new subscriber now :)
No problem!! Good luck Leetcoding 👍
good stuff!
Bro, ur video it's a very funny and useful. English isn't my first lang, but i'm working on it and thank u for the subtitles for ur video, because it's helpful to undestanding you and this information. Thanks!
P.S For examples from minecraft respect)
Thank you so much for sharing this Bradley. I am a full stack developer with 2 years experience but i am struggling to solve leetcode problems, i want a clear explanation of how to solve a leetcode problem and i came accross to a right tutorial, thanks again.
But why you want to solve Leetcode even after being employed as a full stack developer ? Are you planning to apply for other companies ?
@@artyCrafty4564 i have 4 years of exp as a software developer, i too find it hard to solve leet code as i have very less knowledge on DSA. In my case, i do contracting jobs, in which they never ask for dsa's in their interview. I want to get into full time but without no dsa knowledge, idk what to do!
I literaly have no idea what any of that meant
dude.. great intro!
1. Learn data structures and algorithms (learn space and time complexities as well) do this before you start leet code
2. First, read and understand the problem completely and clearly...Don't jump immediately to code as soon as you get a thought in your mind. Don't touch the keyboard until you read the description clearly.. This will prevent you from missing some of the contents of the problem to be solved
3. Even before coding.. Take pen and paper and write the steps / pseudo code that comes to your mind
4. Include code for edge and null cases also in your solution
5. If you have already solved a few questions before try to use those learnt approaches in your future problems
6. Know the space and time complexity of your solution. Write it in comments in your solution
7. For success Be Consistent. Don't copy paste the solution..
8. The main reason for leetcoding is to become the best in data structures and algorithms... To become great in problem solving and to clear coding interviews easily... So don't copy paste solution in the portal.. Think and solve
First time seeing your videos, hit that subscribe button 🔥
Great video!!! I'm currently learning DSA and after it's completion I will jump into the leetcode and this tip of yours surely will help me . Thanks a lot and keep up this good work of yours.....!:)
Do both at the same time! Learn a DSA topic then go solve problems related to it. Good luck and stay focused!
Where are you learning dsa from? Is there any free couse that's good?
I am always confused how to solve this problem and the end I copy paste solution of other but after seeing this video my all doubts are clear thank you 🙏🙏🎉❤
nice video bradely
Thank for this
Thanks for watching!
Thanks its very helpful for me
Nice !
I’m currently taking data structures and algorithms now, once the class is over I’m gonna try to jump into leetcode so this was very helpful, thank you!!
where are you taking the course from bro? and which language?
Thanks sir 💞
Its very useful.. bro
This is by far one of the best videos I've seen related to leetcode, thank you very much for making it. I am a beginner and I want to know what if I wasn't able to solve the problem in my head at first? I usually look up for solution and that solution makes sense for that moment and after a week I look back at the problem and I feel like I didn't came up with this. How to tackle this one? this is the hardest part for me.
Glad it was helpful!
relatable intro bro ahah
thanks bro🥰
The intro is amazing 😭😂😂
I love the way you put the memes in the beginning ...literally me
When you say and what is this
It's hit me hard🥺00:33
Think another good point to add is to look at the solution after some time.
Yes! Especially if your solving a lot of questions in a row. It’s easy to forget what you learned.
After solving 320+ on CodeWars as a Js Developer i thought i was ready for leetcode then after checking the first easy problem boom the reality hits me hard,
then i realized i need to learn DT & Algo
I don't understand what's the problem, I signed up yesterday and sorted from hardest to easiest and did it in like 15-20 mins
@@citer5574 built diff
Is codewars just super easy programming problems?
@@JohnStockton7459 there levels from easy to hard
hey anyone can hellp me..i just passed my 12th class.......i dont know anything about coding .....from where to start...??/
nah banger intro XD
Thank you
bro described all my life into a 1 min introduction
U showed my position where I m now in a humorous way.
😂💪👍 keep going ! Don’t stop!
Here I am trying to leet code just by knowing recursion, not even linked lists, queues, trees, STL and etc..
This site literally scared shit out of me to an extent that I left coding for a week till this popped in my feed
I don't think I've seen any video mention this but how WELL do you have to know DSA? A DSA course at a college would give sufficient enough knowledge but to what extent should one know? And should you be able to impelement this DSA in any desired language before start leetcoding? One could know how a DFS/BFS work but not know how to implement it.
I believe that you must know DSA enough to be able to visualize how it is structured in your mind. Then be able to think about doing operations with input and output. After that you must know how to implement, traverse, and change the data structure to solve the problem using algorithms.
For example solving Two Sum:
you have to know mentally that a Hashmap uses {key,val} structure.
Then you must also know that it does not take duplicates.
Then you must implement the solution with you coding language.
Hope this helps! Good luck Leetcoding!
College can show you the tools , but you must know how to pick them up and use them yourself.
On other tip is to stick with only one topic at a time. If you are trying to do multiple topics at once its hard to learn. Its best to start with the easiest topic and then branch out from there. I only have 140 or so problems solved myself FYI
Good channel n video, isn't it?
thank
In my initial days of coding, I was a bit scared of these complex Data Structures and algorithms because what I used to think was that I should learn everything first and then solve the questions. But it didn't help. So started learning while solving questions and then I got to understand why we should use xyz Data structure or algorithm in xyz question and how it's helping with reducing complexity or better handling of data.
Thank you for such a great video. It will help many.
leetcode needs to be made into a puzzle game for teens. they have some of the most plastic brains available for learning amazing things like this.
I love your explanation process , very clear for a beginner like me in algorithm and data structure.
Please I'm really a newbie at JavaScript (algorithm and data structure what do I do, do I just jump into leetcode and watch other people's solutions to problems or do something else?, please I need an advise
Figure out where you want to go and work your way backwards! Good luck 🫡. Thanks for watching
LOL I have just solved the two sum problem and it feels great 0:31
I think first you will need to think about the brute force solution for this . Suppose if you know the programming language and base data structures very well suppose if I am a dumb engineer who doesn’t know algorithms then I will first choose to use the stacks to keep all the copy of the node values and print . The next improvement over this is you need to optimise the space so you will have the pointers technique to use and reverse the linked list nodes . This is the way to coming up with solution from brute force to optimal
me: studying computer science (functions and pointers) 😏😏 Ez
me: trying to solve two sum on leetcode 💀💀
Nothing relates more !
Intro BG music is Interstellar
Sounds a lot funner than block coding.
Lmfao the intro was great
I can't even think of one solution that is my problem
You can open a whiteboard
Love from IIT GUWAHATI ❤ (hope you know iit 😅)
beside java language.... iwant to solve problems in python and c language ......how do i do that in leet code ?
Peace ✌
Can anyone please help me out here? I have only completed AS level computer science and if you want to get an idea, please search up a past paper of 9618/22 ( any year lol), we learnt pseudocode only. I did use Leetcode to like enhance my problem solving skillsbut could only write pseudocode since I don't know data structures or anything. What should I do?
new to leetcode but the requirements were a little confusing i test my code and i know it meets the basic requirements and it runs but it doesnt pass i must be missing something I hope this video helps
I usually see the term DSA being applied for jobs interviews at FAANG and for software engineers. I'm just a web developer. Is it for me as well? I dont want to work at FAANG. Just wanna have fun coding 😂
Can i start leetcode only with the knowledge of data structure and not knowing algorithms
this is very off topic but where can i buy those pens because I use to have a pack of them but i lost them so now i only have 1 pen left and its the exact color too
I got a 18 pack, for 8 bucks on Amazon.
amzn.to/40C1tQY
Thanks for watching! good luck Leetcoding.
When reversing the list in your practice problem, could you just have an array? Assign each value in the array, and reverse it? Then check that the next int in array is less than previous int?
I’m only 6 months In to coding and cs so algorithms and data structures are still kinda new to me.
Absolutely, that is one way to do it.
There are however more efficient solutions. But your solution is great to start with!
@@EulerJr_ thanks! That’s motivating!
@@CreatorsExpress Great! To be honest, your solution is actually very good. Especially since you have only been into coding for 6 months.
I know for a fact that 80% of those i went to university with couldn’t come up with ANY solution at all.
Never give up on learning Computer Science, you will thank yourself in a couple of years.
bro not even 1 minute i laugh my ass off hard
Dude, what southern state are you from hahah. As a resident the accent and the yeti sticker isn't fooling me
is that Interstellar theme in the background? xD 7:05
Maximum concentration is used to Leetcode for me🪐😂
@@BradleyDAllen 100% Agreed xD
Recently i am solving alot of problems, by reading the question thinking of solutions for a bit and making a logical solutions in my head and not thinking much of the syntax and then getting the answer using chatGPT and then reading the solution that i got from chatGPT and understanding it well. Do you think this is a good practice?
Whatever helps YOU learn. If this will solidify the idea/topic/solution in your mind and help you remember then you have done well.
Thanks for watching!
W
Anyone here fighting SQL in LC? :)
only goats use C++ do you use to be a compatitive programmer
I do contests but I’m not too great at cpp. It’s the greedy/math thats a problem for me.
@@BradleyDAllen yeah ik that been into cp before tbh the math is the main problems sometimes that discourages people from getting into it for me I sat my ass down and watched some algebraic concepts and I was able to get through it
So if I am brand new to swift. I know some but never heard of data structures or algorithms. Do I just look up swift data structures and algorithms? lol. Because apparently I’m in Step 0 😂
I think you can pick the ds and algo up for each problem you encounter. You learn along the way
I learned C programming and DSA in 3 months so is it right to start solving problems from Leetcode or should I learn more? or Any recommendations?
You will never be 100% prepared for a problem. Do both! Learn fail learn repeat!
Good luck!
Thanks for Watching
@@BradleyDAllen ohkeyyyyy, Btw recently I started to solve problems of C programming from HackerRank.….I think u must create a separate video for HackerRank…..Thank you :) for that tips 🕺
@@BradleyDAllen can u please make video on Hacker rank please
please suggest me which youtube channel is best for datastructure and alogorithm
Striver and take you forward he has all you need to know ❤️
@@BradleyDAllen Thank you
Neet code
Reality hits hard :(
its always the least subs holding guy helps you the most.
is that interstellar theme playing on the background?
Yes!
@@BradleyDAllen thank you for the video btw!
@@sophiaonyoutube No! Thank you for watching 🙌
Nice video but... couldn't you have just reversed the list this way:
a=list(input().split())
a=a[::-1]
print(*a)
Thats all. Or am I buggin'?
And also why do I have to do everything in a class solution? Thats the only problem I have with leetcode. I cant seem to implement my solution into the class. Lets say I solved the problem in the video using Python IDLE but when i try to copy paste into leetcode it gives me errors. What do I do?