Queue Using Two Stacks

Medium
data-structures Microsoft Amazon

Test Cases

Python Editor

Output

Click "Run" to see results...