我感激地接过她递来的一杯咖啡。
女主人给大家依次递来咖啡和点心。
The hostess handed round coffee and cakes. (handed them round).
It could be multiple versions. And we're going to come back throughout the term to think about how to code programs that reflect this.
可能是一种形式也可能是多种形式,我们再回到递归这个术语上来,用它来思考怎样编出。
There are two sorts of ways you could fiddle with neurotransmitters, and correspondingly two sorts of drugs.
你可以通过两种方式来控制神经递质,相应地,也就有两种对应的药物
Once you hear that description, it's easy to write the code, in fact. This is a place where the recursive version of it is much easier to think about than the iterative one.
实际上一旦你听到了大致描述,就能很轻松的写出代码来,在这一点上应用递归来解决问题,比用迭代要容易理解多了。
应用推荐