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.
idk this solution seems sus to me
Chad bro-grammer
The instructions of this kata are like looking up a cooking receipe that tells you their life story but forgot to tell you how to make the dish.
The real problem is decifering the instructions.
I love you
I'm not sure what the author has against america flooring conventions, but it took me longer to figure out what the actual problem was than it took to solve.
you have the two backwards, user2791371
I mean, yeah that certainly is one way to do it.
This comment is hidden because it contains spoiler information about the solution
my code looked something similar to this, but I couldn't get "numbers == null" to identify a null array. I had to use: "numbers?.Any() != true"
but why
jesus dude
wasn't sure that it was possible to shit post code until now
what no java?
I wish I could find external material to explain what's going on, but I'm struggling to find anything concrete. The operator is called a bit shift operator.
According to Progamiz: "These operators are not generally used in Java" (referring to bitwise and bit shift operators)
What I do know: in this case the operator "^=" will cancel out similar numbers, then will set the sum to the unique number like any other assignment operator.
I had a similar solution. To make this a little easier on the eyes I would recommend using parenthesis.