He was queried to take two steps forward.
他被要求向前走两步。
Take two steps forward and two steps back.
向前跨两步,再向后退两步。
To correct the action, the bank decided to take two steps.
为了纠正行动,银行决定采取两个步骤。
So this line or these lines of code up here are arguably constant time steps to say if N is less than 2 in return, that it will always take maybe one step, maybe two steps, some number of fixed CPU cycles.
如果N小于2并返回,那么这些行所对应的代码,通常只需要执行一步,或者两步,具体数字与CPU周期有关。
应用推荐