Bold Kiln Interview Question

asked to complete a task.