Just because I’m not sitting at a keyboard doesn’t mean my brain isn’t working on the problem. I’ve had epiphanies taking a shit before. I’m a systems architect so not really a code monkey but I solved a DNS/networking issue the other day doing dishes. No idea why it hit me then but then again I have ADHD and my brain is fucking weird.
Eh, it’s pretty common for your subconscious to process things in the background. If I’m stuck on a problem at the end of the day, I leave early and I’ll have solved it 9/10 times by the time I get to work the next day. I don’t have ADHD AFAIK (never tested nor felt the need to be), so I’m pretty sure it’s a common experience for creative jobs.