I am attempting to simplify the following expression: `(!A && !B) || (!B && !C) || (C && !A)`

. It should simplify to only two terms: `(!A and C) || (!B and !C)`

I have tried applying almost all of the laws and tried different combinations of factoring to see if anything will reduce but it does not lead to the required answer.

Here you go:

(! a && c) || (! b && ! c)

from: https://www.dcode.fr/boolean-expressions-calculator

EDIT: Sorry I didnt know you were looking for HOT to solve it.

In this case I would suggest using a truth table. This will probably help you alot:

https://www.wolframalpha.com/input/?i=(!A+%26%26+!B)+%7C%7C+(!B+%26%26+!C)+%7C%7C+(C+%26%26+!A)