以 WordCount 问题为例。
以某种小型土壤线虫为例,它有959个细胞,是解决这一问题的理想模型。
In a small worm, say the nematode Caenorhabditis elegans, there are 959 cells, making it the ideal model to solve this problem.
单例模式确实能够轻而易举解决无须对每个类的引用都进行存储的问题。
They easily solve the problem of not having to store references to every class.
But just to make it concrete and to see what's at stake, consider the distribution of wealth in the United States.
但为了更形象,看看问题何在,以美国的财富分配状况为例。
Once again, the computer revolution has served as an illustrative case study.
我们再次以计算机革命为例,来说明这个问题。
Taking the problem, recognizing that you know what, 8 even though this is a pretty big problem size 8 in this case and last time it was size 8 or in the case of the papers in size of a thousand roughly with the phonebook, I assume these are in a perfectly straight line they won't quite fit.
以这个问题为例,你们要认识到,在这种情况下,这是个比较大的问题,其大小是,上次它的大小也是8,但在纸片那个问题中,电话簿的规模大概是上千的,现在假设这些,杯子完全在同一条直线上,虽然并不十分符合这个条件。
应用推荐