Skip to content

Commit 3198708

Browse files
committed
ruff fixes
1 parent cf444d6 commit 3198708

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: dynamic_programming/longest_arithmetic_subsequence.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
"""
2-
Longest Arithmetic Subsequence Problem: Given an array nums of integers, return the length
2+
Longest Arithmetic Subsequence Problem: Given an array nums of integers, return the length
33
of the longest arithmetic subsequence in nums.
44
55
Note that:
6-
- A subsequence is an array that can be derived from another array by deleting some or no
6+
- A subsequence is an array that can be derived from another array by deleting some or no
77
elements without changing the order of the remaining elements.
8-
- A sequence seq is arithmetic if seq[i + 1] - seq[i] are all the same value (for 0 <= i <
8+
- A sequence seq is arithmetic if seq[i + 1] - seq[i] are all the same value (for 0 <= i <
99
seq.length - 1).
1010
"""
1111

0 commit comments

Comments
 (0)