Leveraging available data
Part of solving an algorithm has nothing to do with processing power, creative
thinking outside the box, or anything of a physical nature. To create a solution to
most problems, you also need data on which to base a conclusion. For example, in
the toast-making algorithm, you need to know about the availability of bread, a
toaster, electricity to power the toaster, and so on before you can solve the prob-
lem of actually making toast. The data becomes important because you can’t fin-
ish the algorithm when missing even one element of the required solution. Of
course, you may need additional input data as well. For example, the person
CHAPTER 1
Do'stlaringiz bilan baham: |