[LeetCode]Perfect Squares
·
SW개발/코딩테스트
https://leetcode.com/problems/perfect-squares/description/ Perfect Squares - LeetCode Can you solve this real interview question? Perfect Squares - Given an integer n, return the least number of perfect square numbers that sum to n. A perfect square is an integer that is the square of an integer; in other words, it is the product of some in leetcode.com 문제 분석 n이 주어질 때 완전 제곱수 몇개를 더하여 n을 만들 수 있는지 ..