[combine-two-strings] Only looks ahead one character
0b10011 opened this issue · 0 comments
0b10011 commented
combineTwoStrings("aab", "aac","aacaab") should return true, but returns false because the function only looks ahead one character. This could be solved with a recursive function call to do the checks for both strings.