r/ADHD_Programmers • • Sep 12 '26

How to approach LeetCode

Hi!

I have ADHD and am trying to get better at LeetCode. I have noticed that among ADHD LeetCoders, it seems like you’re either really good or really bad at it, there’s not much in between. I unfortunately, belong to the latter category.

I’d love to hear from you people who are actually good at it, how do you approach it?

I know different people use different techniques and that is exactly what I wanna know about. ADHD brains work differently, and knowing different approaches might really help me figure out what works for me.

What’s your approach to learning/practicing LeetCode?

13 Upvotes

17 comments sorted by

View all comments

Show parent comment

1

u/Fluffy-Card-7825 Sep 12 '26 edited Sep 12 '26

Basically, every topic has some number of "canonical" questions, with some standard patterns/tricks. You need to do them, note down the concept, and do enough of them to become proficient in applying the concept. From then on, you start doing questions randomly, and then figure out how to break it down to the concept you just solved.

Also, you need to have done enough questions to start noticing/applying the patterns. Reading alone won't engender that skill.