Included Health interview question

A coding problem printing an array in spiral order