Skip to content

Commit 116f21e

Browse files
Switch back to l
1 parent 27e9cd6 commit 116f21e

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

Doc/library/time-complexity.rst

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -33,42 +33,42 @@ If you need to add or remove at both ends, consider using a
3333

3434
* - Operation
3535
- Complexity
36-
* - Copy (``L.copy()``)
36+
* - Copy (``l.copy()``)
3737
- *O*\ (*n*)
38-
* - Append (``L.append(x)``) [1]_
38+
* - Append (``l.append(x)``) [1]_
3939
- *O*\ (1)
40-
* - Pop (``L.pop(k)``) [1]_ [2]_
40+
* - Pop (``l.pop(k)``) [1]_ [2]_
4141
- *O*\ (*n* - *k*)
42-
* - Insert (``L.insert(k, x)``) [1]_ [2]_
42+
* - Insert (``l.insert(k, x)``) [1]_ [2]_
4343
- *O*\ (*n* - *k*)
44-
* - Get item (``L[k]``)
44+
* - Get item (``l[k]``)
4545
- *O*\ (1)
46-
* - Set item (``L[k] = x``)
46+
* - Set item (``l[k] = x``)
4747
- *O*\ (1)
48-
* - Delete item (``del L[k]``) [2]_
48+
* - Delete item (``del l[k]``) [2]_
4949
- *O*\ (*n* - *k*)
5050
* - Iteration
5151
- *O*\ (*n*)
52-
* - Get slice (``L[i:j]``)
52+
* - Get slice (``l[i:j]``)
5353
- *O*\ (*j* - *i*)
54-
* - Set slice (``L[i:j] = t``) [1]_
54+
* - Set slice (``l[i:j] = t``) [1]_
5555
- *O*\ (*j* - *i*) if len(*t*) == *j* - *i*,
5656
otherwise *O*\ (*n* - *i* + len(*t*))
57-
* - Delete slice (``del L[i:j]``)
57+
* - Delete slice (``del l[i:j]``)
5858
- *O*\ (*n* - *i*)
59-
* - Extend (``L.extend(t)``) [1]_ [3]_
59+
* - Extend (``l.extend(t)``) [1]_ [3]_
6060
- *O*\ (len(*t*))
61-
* - Sort (``L.sort()``) [4]_
61+
* - Sort (``l.sort()``) [4]_
6262
- *O*\ (*n* log *n*)
63-
* - Concatenate (``L1 + L2``)
64-
- *O*\ (len(*L1*) + len(*L2*))
65-
* - Multiply (``L * k``)
63+
* - Concatenate (``l1 + l2``)
64+
- *O*\ (len(*l1*) + len(*l2*))
65+
* - Multiply (``l * k``)
6666
- *O*\ (*nk*)
67-
* - ``x in L``
67+
* - ``x in l``
6868
- *O*\ (*n*)
69-
* - ``min(L)``, ``max(L)``
69+
* - ``min(l)``, ``max(l)``
7070
- *O*\ (*n*)
71-
* - Get length (``len(L)``) [5]_
71+
* - Get length (``len(l)``) [5]_
7272
- *O*\ (1)
7373

7474

0 commit comments

Comments
 (0)