Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
The description says to check if the number can be written as the sum of two cubes in two different ways, there's nothing to suggest that it can only be written in two ways.
Personally, onet thing I do when I'm not provided enough context with code wars is to try it on my own machine and try to debug it from there. It really helps.
This comment is hidden because it contains spoiler information about the solution