I like to looks at problems that I am stuck on before sleep. Although I do not feel that I am thinking about them before falling asleep or while sleeping, it seems that I can solve them much easier the next time I look at them.
My first experience with this was with a girl in my teenage years, and we were doing some hand game that I forget now, and she's like "don't worry, tomorrow you'll know how to do it" (????)
... and that basically was my software career in a nutshell :P