I always believe if you’re stuck in a hole and maybe things aren’t going well you will come out stronger.
A good algorithm is like a sharp knife—it does exactly what it is supposed to do with a minimum of applied effort.
Iteration is the mother of invention.