Search code examples
theory

What do you do when you encounter a tricky problem?


What do you do when you encounter a programming problem that is really hard for you to solve, and you have no idea yet? Usually, how do you solve it at last?

NOTES: Could someone introduce something about problem solving practice?


Solution

  • I just think it over when a pencil and paper.

    • Break it down into each part
    • Look at what parts I know
    • Research parts I don't
    • Put it all together
    • Profit

    For me the trick is breaking it into manageable bits.

    -- Edit

    I must agree with the poster above about talking to someone else, as well. Even if you don't have anyone you can talk to, explain it to a fluffy toy, and the answer will often become obvious.