A

Admin • 825.56K Points
Coach

Q. What will `push()` do in a Deque?

  • (A) Remove element
  • (B) Insert at the head
  • (C) Insert at the tail
  • (D) Throw exception

Explanation by: Admin
push() inserts an element at the front of the Deque.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.