dusheng0927

Results comments of dusheng0927

有两处地方的字符s和t写反了, 一旦i === s.length ,就代表 s中的字符串全部按顺序在 t中找到了,返回 true。 当遍历 t 结束后,就返回 false,因为 i 此时并没有成功走s 的最后一位。