ProgrammingAlgorithm
#RI-6a6b0e50
6 months ago
1
"Wrote a program to solve a problem, but it kept timing out"
What Actually Happened
I was trying to solve a problem on a coding platform, but my program kept running into a timeout error. I spent hours trying to optimize it, but I couldn't figure out what was wrong. I ended up getting frustrated and giving up on the problem. I wish I had known about the importance of testing and debugging my code earlier. I would advise others to take their time and thoroughly test their code before submitting it to avoid frustration and disappointment.
What I wish I knew
"Test and debug your code thoroughly before submitting it"
Advice to Someone Facing This Now
If I could tell you one thing
"Take your time and thoroughly test your code to avoid frustration and disappointment"
Regret Score
8/10
High, persistent regret.
Has not decreased significantly with time.
Has not decreased significantly with time.
Programming Category Average
?%
of Programming decisions share a similar regret distribution. (Coming soon)
Impact
-
Financial and Psychosocial impact distributions for this subset.
Advice for Someone Facing This
Short, upvotable wisdom. The most helpful rises to the top.
No advice yet. Be the first to share wisdom.
React, question, or discuss this decision.