Snail Array Challenge Solution JavaScript
The JavaScript solution to the CodeWars snail challenge. Given an n x n array, return the array elements arranged from outermost elements to the middle element, traveling clockwise. Day 5 of 365 Days of Coding
Day 5 Challenge
Day 5 of 365 days of coding! Today we are borrowing a challenge from Codewars - the snail challenge! Create a function that accepts and array. Given an n x n array, return the array elements arranged from outermost elements to the middle element, traveling clockwise.