LeetCode 2683: Partners In Crime, Neighbouring Bitwise XOR

1 year ago
5

One line solution to a boolean logic arithmetics puzzle. We are given a derived array and a ruleset for creating those arrays; the puzzle is about deciding if that derived array can be constructed using those rules. The solution is one line of Python 3 for a Medium level problem.

https://yeah.computer/posts/012-leetcode-2683-partners-in-crime-neighbouring-bitwise-xor/

Loading comments...