Little useless-useful R functions – Return matrix elements in spiral order
Another one from the Leetcode challenge. This time, get the elements (single values) from the matrix in a spiral order with a starting position of [1,1]. So, the basic idea...continue reading.