I'm hoping if you've been paying attention that that was pretty easy to see that that's linear.
It's just running through each of the elements in the list and doing constant work for
each of those elements so the total of line time is going to be Î(n).
मैं उम्मीद कर रहा हूँ आप ध्यान कि बहुत आसानी से देख कि रैखिक है था कि भुगतान किया गया है यदि।
यह सिर्फ प्रत्येक सूची में तत्वों के माध्यम से चल रहा है और लगातार काम करने के लिए
प्रत्येक इन तत्वों तो रेखा समय के कुल मैं (एन) होने जा रहा है।
よく見ればこれが線形だと
簡単に分かると思います
リストの要素をそれぞれ実行するのに
要する時間は定数で
各要素の実行時間の合計は
nのビッグ・シータになります