Implement a stack using a queue
Filed under nVent · Also reported at Oppo R&D
The question
Write an implementation of a stack data structure using only queue operations.
No write-up yet. Related questions below have one.
Related nVent questions
Collected from public candidate posts and coding forums. Updated Nov 2026.