How to solve the Square(n) Sum problem? / Codewars JavaScript 8kyu

Published --