This preview shows page 1. Sign up to view the full content.
Unformatted text preview: into modules? Well, lets think for a moment how humans usually approach any big problem. We spend some time thinking about the problem in an overall sort of way, then we jot down the major steps. We then examine each of the major steps, filling in the details. If we dont know how to accomplish a specific task, we go to the next one, planning to come back and take care of the one we skipped later when we have more information. What are we doing? We are dividing the problem into subproblems; we are using the divide-and-conquer strategy. This is exactly the process you should be using in designing an algo-rithm. Write down the major steps. This then becomes your main module....
View Full Document
- Fall '10