Dataminr interview question

spiral matrix