There is a way to cheat the time attack.
Build 2 solutions, one docked on the right, and one free somewhere on the screen. Complete the level with the first solution, then when you hit retry the undocked solution doesn't disappear so you can dock it in a couple seconds or less.