I'm studying algorithms in Python and have solved around 140 practice problems, but I still often need hints on unfamiliar medium problems. I tend to write something, test it, debug it, and change my approach as I go.
Does that kind of tinkering build problem-solving skills, or should I reason out a complete solution before coding? When does experimenting stop being useful?
5m!ferrylatch_824:
That sounds useful when I know how to solve a small example but can't see how to make it efficient.