growthmindsit

How to Solve Programming Problems

Solving Problems :

There are simple set of steps :

  1. Read the problem completely twice.
  2. Solve the problem manually with 3 sets of sample data.
  3. Optimize the manual steps.
  4. Write the manual steps as comments or pseudo-code.
  5. Replace the comments or pseudo-code with real code.
  6. Optimize the real code.

    Act like you make $1000/hr :

    Pretend Your Time is Worth $1,000/Hour and You’ll Become 100x More Productive ; How you value your time is how you value your life.

    How to think like a programmer :

    The best way involves

  7. having a framework . what should you do when you encounter a new problem?
    • Understand.
    • Plan ; Don’t dive right into solving without a plan (and somehow hope you can muddle your way through). Plan your solution!
    • Divide , Pay attention. This is the most important step of all. Do not try to solve one big problem.
    • Stuck?
  8. practicing it.

    The 5 Whys :

    Getting to the Root of a Problem Quickly .

    You can use 5 Whys for troubleshooting, quality improvement, and problem solving, but it is most effective when used to resolve simple or moderately difficult problems.

    How to Use the 5 Whys

    The model follows a very simple seven-step process:
  9. Assemble a Team.
  10. Define the Problem.
  11. Ask the First “Why?”.
  12. Ask “Why?” Four More Times.
  13. Know When to Stop .
  14. Address the Root Cause(s) .
  15. Monitor Your Measures .

Github

linkedIn

Github view