Iamneo.ai interview question

Coding: Strings and array based 2 questions