Number Spiral

Number Spiral

A number spiral is a square grid with and odd width/height containing integers. The center cell contains 1, and spirals outwards counting up.

Project Description

This project implements a number spiral of a given size, and then returns the adjacent sum of a given number.

Key Features

Source Code All Projects