How many times do you need to fold the piece of paper so that you can reach the moon.
需要折纸多少次,才能碰到月亮。
But for the most part, I mean, I've seen... I don't know how many times I've seen paparazzi almost get hit by cars.
但是大部分情况下,我是说,我见过……我都忘了多少次我看到狗仔队差点被车撞上。
Anyone? How many times can you tear a 4 billion page phone book in half?
谁知道?,40亿页纸每次对半撕,你能撕多少次?
How many people know that three times a week physical exercise,30 minutes each time has the same effect ? as our most powerful psychiatric drugs?
多少人知道,每周三次,体育锻炼,每次三十分钟,与最强劲的精神药物,有同样的效果?
How many times do I go through the loop?
那我执行了多少次循环呢?
Sorry? OK. You're doing the whole thing for me What's the complexity just of this inner loop m How many times do I go through that loop?
就这一块代码的,我执行了多少次这个循环?,次对不对?,here?,Just,this,piece。,我一会儿就会去得到你的答案的?
And I'll remind you, what I'm printing out there is first and last, with the range I'm looking over, and then just how many times the iteration called.
我要打印出来的是,每次的区间,也就是first和last指向的值,以及重复多少次了。
So this isn't-- OK. And you're also close. It's going to be linear but how many times do I go through this?
每次能丢掉一半,所以这里不是-,好的,但你也很接近了,他可能是线性的,但我得遍历多少次呢?
Well, we certainly didn't know on day one how many times each of you was going to want to call get string, how many words a user might type when you call get string.
好的,当然我们不知道第一天你们,想要调用GetSting多少次,当你调用GetSting时,用户会输入多少单词。
So if I start off with a list of length n, how many times can I divide it by 2, until I get to something no more than two left?
我能够除以多少次2呢?,直到我得到的长度不超过2么?,对数次,对吧?就像刚才那位同学说的那样?
应用推荐