CS icon indicating copy to clipboard operation
CS copied to clipboard

Fix issue when input ('a','b') to isSubsequence

Open toantd90 opened this issue 6 years ago • 0 comments

If user input ('a','b') to isSubsequence iterative, it would be return unexpected result. Since i = 0 now is equal to str1.length - 1

toantd90 avatar Feb 02 '20 21:02 toantd90