This solution is more efficient than the others I've seen by simply being careful about when you multiply what.
Didn't know. Then it's amazing.
It returns an iterator, not an array.
I think when s is extremely large, this solution might get out of memory, as the partitio nmethod needs to store all possible partitions.
and so slow
Broken how? What language are u using? Please use question label and read this https://docs.codewars.com/training/troubleshooting
Attempt test are broken.
this is so clean
Loading collection data...
This solution is more efficient than the others I've seen by simply being careful about when you multiply what.
Didn't know. Then it's amazing.
It returns an iterator, not an array.
I think when s is extremely large, this solution might get out of memory, as the partitio nmethod needs to store all possible partitions.
and so slow
Broken how? What language are u using? Please use question label and read this https://docs.codewars.com/training/troubleshooting
Attempt test are broken.
this is so clean