Categorical Binary Encoding — Coding problem | OneNoughtOne