PwC Interview Question

DSA problem on string and array Project discussion with follow up questions