Entelect Interview Question

How did you solve the coding problem?