Intelliflo interview question

OOPS, problem solving , DB