Prep: Engineering Topics - Goorob-401-advanced-javascript/amman-javascript-401d1 GitHub Wiki
How to Solve Programming Problems :
here some tools that enable us to be good at solving programming problems :
1- Common mistakes :The most common mistake is trying to start writing code as soon as possible
2-steps to use for any algorithm type programming problem :
a- Read the problem completely twice
b-Solve the problem manually
c-Optimize the manual solution
d-Write pseudo-code or comments
e-Replace comments with real code
f- Optimize the real code
g- if the problem itself involves multiple large steps so youshould cut the problem directly in half and apply the previous step on each half
Pretend Your Time is Worth $1,000/Hour and You’ll Become 100x More Productive :
" Value your time at what it deserves to be. The higher the value, the more important and productive work you’ll do — and the less trivial and mindless tasks you’ll get caught in."
How to think like a programmer — lessons in problem solving ?
to solve any programming problems we may use that way which depends in keep trying solutions until you luck out but this way is just a waste of time so we should having a framework and practicing it .
what should you do when you encounter a new problem?
Understanding it , Plan your solution , you have a big problem so break it into sub-problems , facing a whammy so go step by step through your solution trying to find where you went wrong then at the end always practice If you want to be a good problem-solver, solve a lot of problems .
Quality in Healthcare :
Five Whys and Five Hows : The five whys are used for drilling down into a problem and the five hows are used to develop the details of a solution to a problem , Both are designed to bring clarity and refinement to a problem statement or a potential solution and get to the root cause or root solution .