Shopee interview question

- string manipulation ( coding part )