HOLOPLOT Interview Question

An easy task on code design