My personnel technique is basically to wait, gaze and think of nothing !
I do better when I am walking in natural environments...at some point I think on the problem coming from a previous empty mindset...I bear in mind that closely similar algorithms patterns are around me everywhere applied to different actuality´s also regarding that they may be the same solution to current subject under my microscope...I don´t focus on nothing in particular but I simply enjoy myself in a quiet state of mind.
...Think, pause and gaze, think again, pause and gaze once more...and I go on this for hours...(a very pleasing experience)
One odd remark is that I avoid books most of the time when to solve something...their purpose to me is to bring up critical mass and some order but hardly ever have they gave me an deeper insight...shocked ?
hope not !...