Skip to content

Commit 8a2421d

Browse files
committed
Runtime: 1333 ms (Top 78.26%) | Memory: 101.5 MB (Top 15.22%)
1 parent 3b4bfed commit 8a2421d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

scripts/algorithms/L/Longest Arithmetic Subsequence/Longest Arithmetic Subsequence.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// Runtime: 1333 ms (Top 78.26%) | Memory: 101.5 MB (Top 15.22%)
12
var longestArithSeqLength = function(nums) {
23
if (nums === null || nums.length === 0) {
34
return 0;
@@ -15,6 +16,6 @@ var longestArithSeqLength = function(nums) {
1516
}
1617
}
1718
return maxLen;
18-
// T.C: O(N^2)
19+
// T.C: O(N^2)
1920
// S.C: O(N^2)
20-
};
21+
};

0 commit comments

Comments
 (0)