Linked list is declared as follows the complexity of the fol
Solution
Node *cur=head; cur!=NULL, cur=cur->next
cout<<cur->item;
The complexity is O(n) as the for loop is present in method.
THe posttfix expression mention is wrong for both the cases.
in queue items enter at rear side and leaves from front side
