Here are 5 steps to approaching and implementing a programming problem solution:
1. Understand the problem and create test cases
2. Think about how you, as a human, would solve the problem. Break your solution down into small, unambiguous steps in plain English. Write those steps in plain English as comments in the body of your main method
3. Identify logic structures, data types and structures, and functions (Have to know the structures and types!)
4. Code incrementally (based on specification)
5. Use correct formatting and proper naming
Back to top