ValueCoders interview question

Quantitative Aptitude