Category / Algorithms

    Loading posts...
  • Spiral Matrix

    Goals If given an integer N, return an n x n Matrix in a matrix spiral. Given an m x n matrix, return all elements in a spiral (clockwise order) (Spoiler Alert: Below the fold, you'll find the solutions so if you haven't already tried them yourself then don't scroll down. If you don't mind…