Hexadimensional Interview Question

Technical question