It is a builtin XOR operator
This comment is hidden because it contains spoiler information about the solution
It's still giving me issues.
Great Kata, thanks! Please more Graph Katas :)
Good solution. When I try to run I get date usage error though.
In the example tests, in the third test, "valid child3" is included twice. This caused a duplicate ID error for my map. The actual kata tests didn't have this scenario so it's probably an errant duplicate?
Fun kata. THANKS!
Hey, quick question! I'm still not completely firm with Views. Is this potentially more performant than not using a View in this case? I.e. does the View inhibit the creation of a transitory collection?
thats' because there are NO example tests provided. And that's effectively an issue.
@hyperion it is my solution that is the hack. I took advantage of the Kata requirement so I say 2 phone numbers are "equal" if they have the same type only. Clearly that is nonsense in the real world of phone numbers, but was sufficient for a quick solution here ;-)
My solution passed final test but preliminary tests was failed with exception about assertion error.
It is a dirty hack because objects are not really equal and nobody can use it this way because of possible bugs that very hard to find.
Tests throws assertion error.