几乎所有我们吃的食物都分解为葡萄糖,血液中一种糖存在的方式。
Most of the food we eat is broken down into glucose, the form of sugar in the blood.
比如说,如果你在学习一个新的软件,把每个步骤都分解开来,就能帮助你学会分步使用它。
For instance, if you need to learn new software, break down all the ways it will help you during you day and learn to use it in pieces.
一旦你把所有的工作都分解成活动,你就可以将这些活动排个顺序并且确定它们之间的依赖关系。
Once all of the work has been uncovered, you can sequence the activities and identify dependencies between them.
Those are fancy terms. Decomposition is a way of putting structure onto the code.
这些都是诱人的术语,分解是一种将代码结构化的方法。
Log n Log n, because at each stage I'm cutting the problem in half. So I start off with n then it's n n/2 n/4 n/8 over two n over four n over eight.
因为总共有多少层?,因为在每一层,我都是把问题分解成两半,因此以n开始,然后是。
应用推荐