Queue using Linked List

4.2

4 votes
Easy
Problem

Same as question 2 with the change that the implementation should be by using a linked list instead of an array. There will be no size specified in the inputs

Sample Input
1
6
enqueue 1
enqueue 2
enqueue 3
dequeue
dequeue
front
Sample Output
1
2
3
Time Limit: 5
Memory Limit: 256
Source Limit:
Editor Image

?