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
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!
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!
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
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
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.
@@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!
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
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
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.....!:)
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!!
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.
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!
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!
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)
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
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.
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 🙏🙏🎉❤
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
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!
@@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 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
@@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 🕺
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 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 😂
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?
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.
@@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.
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