You are viewing a single comment's thread. Return to all comments →
It seems like some implementations of get() aren't updating the order of the most recently used. Was this not actually tested for in the test cases?
The list should be updated similar to the following:
1 2 3 4 5 -> get(3) -> 3 1 2 4 5
Seems like cookies are disabled on this browser, please enable them to open this website
Abstract Classes - Polymorphism
You are viewing a single comment's thread. Return to all comments →
It seems like some implementations of get() aren't updating the order of the most recently used. Was this not actually tested for in the test cases?
The list should be updated similar to the following:
1 2 3 4 5 -> get(3) -> 3 1 2 4 5