Читать книгу Algorithms For Dummies - John Paul Mueller, John Mueller Paul, Luca Massaron - Страница 30

Starting to Solve a Problem

Оглавление

Before you can solve any problem, you must understand it. Doing so isn’t just a matter of sizing up the problem, either. Knowing that you have certain inputs and require certain outputs is a start, but that’s not really enough to create a solution. Part of the solution process is to

 Discover how other people have created new problem solutions

 Know what resources you have on hand

 Determine the sorts of solutions that worked for similar problems in the past

 Consider what sorts of solutions haven’t produced a desirable result

The following sections help you understand these phases of solving a problem. Realize that you won’t necessarily perform these phases in order and that sometimes you revisit a phase after getting more information. The process of starting a problem solution is iterative; you keep at it until you have a good understanding of the problem at hand.

Algorithms For Dummies

Подняться наверх