Virtusa Interview Question

Technical was little bit tricky