πŸ“Š Python
Q. Which data structure does `collections.deque` represent?
  • (A) Stack
  • (B) Queue
  • (C) Double-ended queue
  • (D) Heap
πŸ’¬ Discuss
βœ… Correct Answer: (C) Double-ended queue

Explanation: `deque` stands for double-ended queue and allows fast appends and pops from both ends.

Explanation by: Mr. Dubey
`deque` stands for double-ended queue and allows fast appends and pops from both ends.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
43
Total Visits
πŸ“½οΈ
8 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
93%
Success Rate