It is a common experience that a problem difficult at night is resolved in the morning after the committee of sleep has worked on it.
The key to success is to keep going even when things seem impossible.