Frage im Vorstellungsgespräch bei Jane Street

Implement a priority queue using a stack.

Antworten zu Vorstellungsgespräch

Anonym

28. Feb. 2014

Are you sure he asked you to use only one stack?

1

Anonym

30. Mai 2017

You can utilize the call stack as your second stack by using recursion.