Boeing interview question

2.Code Signal (Easy) on Strings