Something that helps me here is not to divert your attention on your breaks to anything that requires concentration e.g. striking up conversations with co-workers, thumbing through emails, social media etc. Doing something like a short walk or getting some water like Lindsey suggested helps your subconscious keep working at the problem while the working memory gets a break.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.