We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82e1a0b commit c95797bCopy full SHA for c95797b
other/number_container_system.py
@@ -11,8 +11,8 @@
11
12
class NumberContainer:
13
def __init__(self) -> None:
14
- # Holds number as the key and returns list of indexes where the number is
15
- # The list of indexes is a sorted array in ascending order
+ # numbermap keys are the number and its values are lists of indexes sorted
+ # in ascending order
16
self.numbermap: dict[int, list[int]] = {}
17
# Simply holds each index and it's number
18
self.indexmap: dict[int, int] = {}
0 commit comments