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.
ok, you're not using them as class level vars, so here is what your Node class should look like:
... :/
no random tests.
You should read those:
Hi,
I didn't try it yet, but the either the description of the Node class is wrong, or your class implementation is wrong:
=> ??
WTF is
_b Puzzle Club
?!?Today's exercise is simple. But it's explained with difficulty at best. The requirements are unclear: "chaining" is not explained ( an external link does not cut it ), as mentioned below, the way to divide up the numbers is only hinted at, and the juggling with data types is also made more difficult than it actually is.
Also, the Example tests are inadequate, and empty arrays should be
[]
, notnull
. Why are they arrays anyway, and notSet
s? They should behave asSet
s, they might as well beSet
s.There's more than 1 way to split numbers into groups, any permutation is equally valid.
"Awesome powers of prime numbers" don't have anything to do with the task, it could be any other number in this context.
This is a duplicate of more general duplicate.
the name of the property holding the value isn't specified (the user is forced to make an assumption that it's
node.key
)No random tests.