Microsoft Interview Question

Implement k number of stacks in an array.