[Community Puzzle] Logic Gates Detective - Puzzle discussion

Coding Games and Programming Challenges to Code Better

Send your feedback or ask for help here!

Created by @pluieciel,validated by @ManuelJ,@Eulero314 and @DavidAugustoVilla.
If you have any issues, feel free to ping them.

Wow, this was a lot harder for me than anticipated at first glance. The dependencies are not only with respect to value but also position within the boolean equation, so more standard topological sorting is not sufficient. There are some tricky edge cases where knowing 2 of the boolean values does not allow you to deduce the 3rd e.g. (if the final result of a OR operation and one of operands are both equal to 1, you cannot determine whether the other operand is 0 or 1)