3 ms·
On the other hand the way the interfaces are layered is not ideal, because the implications of e.g. `removeFirst` and `removeLast` for an arraylist are very dif
by masklinn 4y ago
On the other hand the way the interfaces are layered is not ideal, because the implications of e.g. `removeFirst` and `removeLast` for an arraylist are very different from a linked list.
Or getLast on an arraylist (or doubly linked list) versus singly linked.