Indium Software interview question

Not difficult based on client requirement