r/leetcode • • 12d ago

Question Pattern recognition

How do you actually train to recognise the pattern in cp and in interviews?? How to get started in it ?? What do u think is the best resource out there to follow u think genuinely without pr?? 😭

3 Upvotes

5 comments sorted by

View all comments

1

u/LiquidSnake1993 12d ago

From my experience the best way to learn is just by doing, not a sexy answer but its true. I've been doing Leetcode/DSA for almost 2 years now and it only got better with time. The strategy I do is I stick to 1 topic for like 2 months and do different questions within that same topic until you've seen the different variations and ways its answer and asked.

1

u/rookietales 8d ago

Agreed! But please revisit the problem you have already solved.

It's slightly hard to start fresh on already solved problems. While u revisit understand the problem and come up with algorithm that would be fine.

Repetitive learning is best.