I am reading the book How to Think About Algorithms, and find this book very interesting to read. Compare to traditional algorithm books which mainly explain how the algorithm work, this book takes a more “head first” approach, try to explain how you should think about algorithm. The style is close to Head First Design Pattern, which of course focus more on design pattern.
The basic steps are:
- Specifications
- Basic Steps
- Measure of Progress
- The Loop Invariant
- Main Steps
- Make Progress
- Maintain Loop Invariant
- Establishing the Loop Invariant
- Exit Condition
- Ending
- Termination and Running Time
- Special Cases
- Coding and Implementation Details
0 comments:
Post a Comment