Virtusa interview question

Algorithms & data structures