algorithms icon indicating copy to clipboard operation
algorithms copied to clipboard

Create num_perfect_squares.py

Open rashidkalwar opened this issue 4 years ago • 4 comments

Added an algorithm that calculates the least amount of perfect squares that are required to sum a given number fixes #767

rashidkalwar avatar Jul 31 '21 10:07 rashidkalwar

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 avatar Jul 31 '21 10:07 rashidkalwar

@rashidkalwar Add test cases, please

ericklarac avatar Aug 10 '21 03:08 ericklarac

just added all the changes as requested please check and merge if all ok. thanks

rashidkalwar avatar Aug 10 '21 04:08 rashidkalwar

@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.

rashidkalwar avatar Aug 11 '21 10:08 rashidkalwar