Timeline for Constructing Solar Panels from Squares
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Nov 13, 2021 at 6:50 | history | edited | ovs | CC BY-SA 4.0 |
added 7 characters in body
|
Nov 13, 2021 at 6:47 | comment | added | ovs |
@Yousername this the base case for the recursion, in f(n-i*i) gets called with a smaller value for n , which will eventually reach 0. Edit: After looking at this again I was able to move that check for -1
|
|
Nov 13, 2021 at 2:13 | comment | added | Yousername | You don't have to check for if n is 0 because the challenge says that it is a positive integer. | |
Nov 12, 2021 at 15:27 | history | edited | ovs | CC BY-SA 4.0 |
added 702 characters in body
|
Nov 12, 2021 at 14:09 | history | answered | ovs | CC BY-SA 4.0 |