Salesforce Aloha 5 hackerrank question for Software Dev at SFO.
https://leetcode.com/problems/spiral-matrix/