← Accenture questions
CodingMedium

Minimum perfect square numbers that add up to n

Filed under Accenture

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

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Accenture questions

Collected from public candidate posts and coding forums. Updated Nov 2026.