Implement a queue using stacks and vice versa.
Filed under Societe Generale
The question
Implement a queue using stack(s), and implement a stack using queue(s).
No write-up yet. Related questions below have one.
Related Societe Generale questions
Collected from public candidate posts and coding forums. Updated Nov 2026.