How to Solve Programming Problems
Solving Problems :
There are simple set of steps :
- Read the problem completely twice.
- Solve the problem manually with 3 sets of sample data.
- Optimize the manual steps.
- Write the manual steps as comments or pseudo-code.
- Replace the comments or pseudo-code with real code.
- 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
- 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?
- 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:
- Assemble a Team.
- Define the Problem.
- Ask the First “Why?”.
- Ask “Why?” Four More Times.
- Know When to Stop .
- Address the Root Cause(s) .
- Monitor Your Measures .
Github
linkedIn
Github view