TD interview question

Leet code Mediums on String and Array