TransUnion interview question

Implement Binary search, traverse array spirally.