Sollicitatievraag bij SAP

Implement a Queue using a stack.

Antwoord op sollicitatievraag

Anoniem

15 jan 2019

We use two stacks, with top of each as front and rear end pointers. or if only one stack is required, a length variable could be maintained.