Assertion: queue's method | /r/HasProperty | implemented in linkedlist
Facets:
Source sentences:
text: Based on the docs, the addFirst function needs to add to the front of the Deque , and indeed, with a LinkedList , it will add to the front of the LinkedList (while the front of the LinkedList doesn't need to be the front of the Deque , by looking at the Deque methods implemented in LinkedList , we see that the front of the Deque is the front of the LinkedList , and all the methods add to / remove from one of the sides, do so from the correct side).