How to solve 100+ problems on leetcode? 3 Step approach before approaching any question on leetcode
let me tell you my story about when I started my journey in web development within three months I was able to solve more than 100 problems on Leetcode and 500+ problems on other platforms.
Solving 100 problems in three months is an excellent achievement but how does that happen what was my approach to solving the DSA problems?
Most of the students tend to get afraid after hearing the word DSA and DSA problems, so for all of you guys, I have made my simple three-step approach to approach DSA problems on leetcode or any other coding platform.
The three things you need to understand before opening the leetcode are as follows:-
1) Basic Knowledge of the programming language.
what does that mean?
it basically means that you guys should know the primitive data types and how to declare them. the primitive Data Types in JavaScript are->
string
number
boolean
undefined
null
bigInt
symbol
2) Know basic data structures and how to iterate them. Basic data structures in JavaScript are:-
String
Arrays
3) Do this 20 patterns:- 5 patterns a day
> Day-1
1)
2)
3)
4)
5)
Day-2
1) 2)
3)
4)
5)
Day-3
1) 2) 3) 4) 5)
Day-4
1) 2) 3) 4) 5)
if you guys liked this content you can buy me a coffee this will help me to generate more content for all of you. 01nakulgoel.hashnode.dev/what-is-git-what-i..
if you guys liked this content you can buy me a coffee this will help me to generate more content for all of you.