Umm like,
000, 010, 100, 110 all have 0 in 1st place. Do they have anything else in common? No.
This will result in "C' " as in the 1s position. (' cause it's a 0 bit)
Now 2 elements are remaining, 110 & 111
They both have 1 in 10s position.
But they also have 1 in 100s position.
This will result in A.B as both these bits are high.
The function should return something like [C', AB] or something similar that is easy to parse (Binary data should be easiest to work with imo)