Skip to content
Minsing Log
Go back

English Edition

Why Is It Wrong?

Founder Notes

When solving Programmers problems, there are occasionally some where the test cases fail even though the solution seems perfect. Then I spend a really long time thinking about why it is wrong and try to fix it. When it fails, I search on Google to see if I can find cases where people with similar ideas to mine made the same mistake and got them wrong. However, if there are no people who made a similar mistake, I ask a question, and if I feel that I cannot solve it, I look at the answer and move on to another problem. I really want to know where in the process of my reasoning I went wrong, but that is not easy.

**What should I do when I don’t know what counterexample there might be for the part where I went wrong? **

  1. Should I completely erase my code and start from scratch?
  2. Should I look at the answer?
  3. Should I ask a question?

Follow the journey

Get new posts by email.

Short, honest notes on building, startups, learning, failures, and retrospectives, for readers who follow the journey rather than pass through from search.

The newsletter is coming soon. Until then, follow via RSS or email me to get notified.


Share this post:

Comments

Sign in with GitHub to leave a comment.


Previous Post
Calculating Time Complexity
Next Post
Could Algorithms Also Be Considered Studying Mathematics?