Qumulo Interview Question

Grey code encoding and decoding. Find minimum steps in water pouring problem.