Virtusa Interview Question

Programming round - recursion, array, string