IBM Interview Question

Implementing circular sort and search within a few minutes.