(self)
| 11 | |
| 12 | class NumberContainer: |
| 13 | def __init__(self) -> None: |
| 14 | # numbermap keys are the number and its values are lists of indexes sorted |
| 15 | # in ascending order |
| 16 | self.numbermap: dict[int, list[int]] = {} |
| 17 | # indexmap keys are an index and it's values are the number at that index |
| 18 | self.indexmap: dict[int, int] = {} |
| 19 | |
| 20 | def binary_search_delete(self, array: list | str | range, item: int) -> list[int]: |
| 21 | """ |
nothing calls this directly
no outgoing calls
no test coverage detected