Scrolled to bottom fix.
This commit is contained in:
parent
9bc55e771a
commit
973afa0cc2
@ -261,7 +261,7 @@ levenshteinDistance(a, b) {
|
||||
const millisecondsDifference = event2Time.getTime() - event1Time.getTime();
|
||||
return millisecondsDifference / 1000;
|
||||
}
|
||||
isSubsequence(input, array) {
|
||||
isSubsequence(s, t) {
|
||||
let i = 0, j = 0;
|
||||
while (i < s.length && j < t.length) {
|
||||
if (s[i] === t[j]) {
|
||||
|
Loading…
Reference in New Issue
Block a user