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?

공개 여정 구독

글이 올라오면 이메일로 보내드릴게요.

개발, 창업, 배움, 실패와 회고를 짧고 솔직하게 기록합니다. 검색으로 스쳐가는 독자가 아니라 여정을 따라오는 팬을 만들기 위한 뉴스레터입니다.

뉴스레터는 준비 중입니다. 그동안 RSS 로 구독하거나 이메일 로 알림을 요청해 주세요.


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?