[combine-two-strings] Only looks ahead one character
0b10011 opened this issue · comments
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.