Mphasis Interview Question

very hard