Pergunta de entrevista da empresa Cognizant

Coding based questions on string reversal, substrings in java