2023-08-04 10:30:26 -07:00
..
2023-08-04 10:30:26 -07:00
2022-10-08 18:02:27 +08:00

Chapter 4 - design patterns
=======================================================================================================================

 - Create a SortedDict collection that takes a keyfunc to decide the sort order.
 - Create a SortedList collection that has O(log(n)) inserts and always returns a sorted list during each iteration.
 - Create a Borg pattern that has a state per subclass.