GenInvo Interview Question

A mini coding live question.