Huh, I can't believe the solution is so simple in the end!
I tried to solve it using XOR and discrete mathematics :(
Thanks for the post!
BTW you got a typo ("at the and")
Yes, that was my thought too!
(thanks for the typo ;) )
We’re a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.