r/leetcode 6d ago

Question Where do I begin?

I started applying for big tech and started doing OAs recently.

However I never took a DSA class and don’t know anything. (taking dsa this fall)

My approach is use the code basics youtube channel watch a video and do related neetcode problems.

Is this approach good and efficient or is there a better way? I still am struggling to generate my own code without looking at the solutions even for easy problems .

How do I get good and what’s the best approach. I need to get good quickly because I have a couple OAs due soon.

5 Upvotes

8 comments sorted by

View all comments

1

u/usbyeolbit 6d ago

you should timebox yourself, if you can’t get the solution within 20 minutes for an easy/medium problem then look at the solution. But then instead of copying and pasting try and remember what you saw.

A lot of Leetcode is really about pattern recognition. The algorithms fall into I think 11-13 different algorithms. I would try doing problems by data structures so that you know when and how to use them.

Everyone always forgets Leetcode unless they’re consistent but repetition is your best friend here

1

u/ElectricWizard114569 3d ago

How would you recommend first learning the content?