Implementations of algorithms and data structures from "Introduction to Algorithms", Fourth Edition by Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest and Clifford Stein
Python 3.8 doesn't support subscriptable type hints, e.g., List[str] or Set[Chip].
Once Python 3.8 reaches end of life in Oct 2024, and once disabling it in build.yml, type hints can be improved. Try making Array or other data structures type-parameterized, so we can also use e.g., Array[int] as type hint.
Also, decide if we need type hints in double undescored functions as well.
After another failure caused by Python 3.8 lack of support for used function, I've rushed the decision of removing 3.8, and adding 3.12. This means the issue is now unblocked.
Python 3.8 doesn't support subscriptable type hints, e.g.,
List[str]
orSet[Chip]
.Once Python 3.8 reaches end of life in Oct 2024, and once disabling it in build.yml, type hints can be improved. Try making Array or other data structures type-parameterized, so we can also use e.g., Array[int] as type hint.
Also, decide if we need type hints in double undescored functions as well.