the moment your code submission timed out or exceeded memory limit is so devastating

Sometimes I have a bad idea for a solution. And I spend hours making corrections to have the algorithm passing a variety of custom inputs. And eventually it failed submission because of exceeding time or meomry limits. It's so devastating. It seems the best way for mental health is to look up what's the optimal way first on Google before writting a single line of code. It's so depressing.

Comments (0)