Infosys Interview Question

One string based coding questions