Simetrik Interview Question

how to invert a binary three