Nomura Interview Question

A challenge I came across?