Finastra Interview Question

Rotate an array. implement minimum queue at O(1).