The given statements are:
Statement 1: Deque is a version of stack, which allows insertion and deletion at both ends.
Statement 2: Queue is an ordered linear data structure, following FIFO strategy.
Statement 3: In Python, the use of predefined methods takes care of Front and Rear.
Which of the following statements is/are false.
1
Statement 1 and Statement 2
2
Only Statement 3
3
Only Statement 1
4
Statement 2 and statement 3