Scrolled to bottom fix.

This commit is contained in:
retoor 2025-05-27 12:33:04 +02:00
parent 9bc55e771a
commit 973afa0cc2

View File

@ -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]) {