So, why don't you go ahead and tell me, keeping that in mind, which atom in terms of h c or n would you expect to be in the center of hydrogen cyanide?
那么,请大家来告诉我,并且记住它,你认为氢,碳和氮中哪个原子,应该在氰化氢的中间呢?
N But it's definitely not one and in fact it wasn't N in the case of Selection Sort because remember the algorithm we implemented on stage last week had me going back and forth across the stage selecting on iteration, the smallest person I can find, the smallest number and then putting them into place.
但在选择排序中,肯定不会是1,也不是,注意,上周我们在这儿,实现的算法中,反复地,迭代进行选择,选出最小的数,然后将其放在合适的位置。
I'm accessing a list. How long does it take for me to get the nth element of a list?
我取得数组的第N个元素,需要多长时间呢?
These were kind of the popular royalists of places like N?me.
有的地方如尼姆,似乎是保皇党的地盘
So this tells me that this is n equals one.
所以它告诉我们n等于。
I know it's gonna take me a lot of work on the order of N squared steps to sort these things.
要对它们排序就要进行大量的工作,大概需要N平方步。
So int n just gives me four bytes for an int, but it doesn't put anything there yet.
所以int,n只是给我们分配了4个字节,但是它没有放任何东西在那里。
So the take away is that if the user actually gives me two or three or four or whatever, this is this expression "is n less than 1" is going to evaluate to false if it's actually two or three or four or whatever.
所以先不管用户实际上给我,3,4还是其他数,这个表达式,“是否n小于1“将被评估为错误的,如果输入额是2,3,4或其它的数。
Alright, you want me to sort N elements.
既然要对N个元素排序。
应用推荐