algorithms
algorithms copied to clipboard
Create num_perfect_squares.py
Added an algorithm that calculates the least amount of perfect squares that are required to sum a given number fixes #767
this file also fixes the issue #769, please review and provide a feedback also I am new to open source community and to this repo so go easy on me 😄.
@rashidkalwar Add test cases, please
just added all the changes as requested please check and merge if all ok. thanks
@ericklarac I have Added a few test cases just like the PR you referred me, I hope it is good now, if you think there needs to be changes made. please make it yourself.