← All problems
Medium · 1-D Dynamic Programming

Perfect Squares

Find the fewest perfect squares summing to n.

Full problem and submission ↗
main.js

Console

Ready