LeewayHertz interview question

quantitative aptitude logic in technical interview