Amazon Interview Question

solve frequently used string problem