V2STech Solutions interview question

Coding Question were based on String and Array