Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Day 459 #927

Closed
vaskoz opened this issue Feb 25, 2020 · 1 comment · Fixed by #928
Closed

Day 459 #927

vaskoz opened this issue Feb 25, 2020 · 1 comment · Fixed by #928
Assignees

Comments

@vaskoz
Copy link
Owner

vaskoz commented Feb 25, 2020

Good morning! Here's your coding interview problem for today.

This problem was asked by Uber.

Write a program that determines the smallest number of perfect squares that sum up to N.

Here are a few examples:

Given N = 4, return 1 (4)
Given N = 17, return 2 (16 + 1)
Given N = 18, return 2 (9 + 9)
@vaskoz vaskoz self-assigned this Feb 25, 2020
@vaskoz
Copy link
Owner Author

vaskoz commented Feb 25, 2020

Identical to Day 350: #695

@vaskoz vaskoz mentioned this issue Feb 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant