-
Enhancement
-
Resolution: Fixed
-
P3
-
None
-
None
-
b09
ModuleHashesBuilder can be improved by:
- using ArrayDeque instead of LinkedList
- replace calls to contains() with calls to methods that return special values when the element is missing.
- avoid using N^2 algorithm by using HashSet
- using the name "todo" for the work stack
- using ArrayDeque instead of LinkedList
- replace calls to contains() with calls to methods that return special values when the element is missing.
- avoid using N^2 algorithm by using HashSet
- using the name "todo" for the work stack