2016-03-31 5 views

Antwort

0

Es ist linear, dh es O(n) Zeit in Anspruch nimmt, wo n die Anzahl der Elemente in der Liste ist A, wie man es von the official Python documentation ableiten kann.

+0

Dies hat Informationen über die Zeitkomplexität. [Datenstrukturkomplexitäten] (https://www.ics.uci.edu/~pattis/ICS-33/lectures/complexitypython.txt) – Sanindra

+0

Noch besser. :-) – blazs