Microsoft interview question

Implement k number of stacks in an array.