Question: Efficiently implement 3 stacks in a single array.

Solution:
Stack 1 start from beginning.
Stack 2 start from last
Stack 3 start from middle with toggle between left and right
stack 1 stack 2 stack 3
123.......312......321