The OODA loop is a good model for how people interact with their environments and how they make decisions to solve problems.
OODA循环是一个很好的模型,可以用于描述人们和他们所处的环境的交互方式,以及他们如何做出决策以解决问题。
However, this isn't the only way to solve the problem. Instead of a loop, you can use recursion, like so.
但是这并不是解决问题的惟一办法。
To solve the number classifier, I had to discern exactly how to gather factors, which in turn means I had to write the specific code to loop through Numbers to determine factors.
要解决数字分类器问题,必须准确辨别如何搜集因子,这意味着必须编写特定代码来遍历数字,从而确定因子。
If you look at solve 2, it's going to solve2 run through the same kind of loop, printing out all of the answers.
我会让你们看一看,如果你在看,那将运行相同的循环。
应用推荐