Perfectionism is holding you back.
Forget about writing the perfect solution. Start writing any solution, and start now. It doesn’t have to be perfect. You could probably start writing one and then adjust it to be better in all of the time spent pondering a perfect solution that never comes to mind.
Forget about “best” and “perfect” because, as you’ve seen, they only result in you producing nothing at all - Which is far from perfect.