State whether the following statements are true or false. Statements: (i) A…
2018
State whether the following statements are true or false.
Statements:
(i) A queue can be implemented using two stacks.
(ii) A stack can be implemented using two queues.
Answer: A. (i) True, (ii) True
- A.
(i) True, (ii) True
- B.
(i) True, (ii) False
- C.
(i) False, (ii) True
- D.
(i) False, (ii) False
Attempted by 994 students.
Show answer & explanation
Correct answer: A
Loading lesson…