Amazon Interview Question

reverse a spiral matrix in binary