iLink Solutions interview question

scenario based