Queue using singly Linked List, enqueue will take O(n) and Dequeue will take O(1) time.
Because for enqueue operation, insert at the tail of the linked list and for dequeue remove from the beginning of the linked list (FIFO).
but if we maintain an extra pointer both will take O(1).