Khoros interview question

arrange 0's, 1's and 2's from an array. Shift array with K steps (Circular array)