Just came across spiral array and wondered if I could code for it. I was able to create below solution using Java. Is there any other efficient ways to attain the same resul