Search⌘ K
AI Features

Perfect Squares

Perfect Squares asks you to express a given positive integer as a sum of perfect squares and return the smallest number of squares required.

Statement

Given an integer, n, return the least number of perfect square numbers that sum to n. ...