Rajat Minerals interview question

Basic