Virtusa Interview Question

Questions on Subarray and string.