Assertion A: Dequeue can support both stack and queue.
Reason R: Dequeue supports insertion and deletion at both ends.
In the light of the above statements, choose the most appropriate answer from the options given below:
1
A is correct but R is not correct 4.
2
A is not correct but R is correct
3
Both A and R are correct and R is the correct explanation of A
4
Both A and R are correct but R is not the correct explanation of A