Page 1 of 1

A double-ended queue supports operations like adding and removing items from both the sides of the queue. They support f

Posted: Wed Jul 13, 2022 7:41 pm
by answerhappygod
a) O(m) and O(n)
b) O(1) and O(n)
c) O(n) and O(1)
d) O(n) and O(m)