wk2(bigo)

 0    2 フィッシュ    up804653
mp3をダウンロードする 印刷 遊びます 自分をチェック
 
質問 English 答え English
explain o(1)
学び始める
The method runs in O(1) time (ie “constant time”) relative to its input. The list could contain 1 item or 1,000 items but the algorithm is still only required to do one print.
explain o(n)
学び始める
The method runs in O(n) time (ie “linear time”) relative to its input. If the list has 10 items – then have to print 10 items If the list has 1,000 items – then have to print 1,000 items

類似のフラッシュカードを参照してください。

wk5&&6 (LinkedLists)

コメントを投稿するにはログインする必要があります。