Ignite Solutions interview question

Please elaborate on your approach to solve the coding task.