[Study notes] Algorithm (4) ----------1

I understand the algorithm:

 

As shown in this figure, I understand that the algorithm of a process operation of the package, if the data is a processing plant, as defined by the input parameters of the output of the design process of a calculation, 

In order to facilitate memory, give chestnuts

Provided that the material we have to do a cake (cake algorithm), then we need to prepare: eggs, sugar, wheat flour, milk, water, shortening, baking powder (data type), then we have to make a cake (return value) so in this process, the raw materials into the cake and the method can be seen as step algorithm.

Suddenly feeling algorithm that will be used even more evident in practice-oriented programming, this is a more basic understanding of the algorithms it runs to simplicity, somehow reusable designed for one purpose, it can be understood for the algorithm.

 

Guess you like

Origin www.cnblogs.com/unityworld/p/11263850.html