Infosys Interview Question

Was on List, string mostly