mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-04-17 19:27:35 +00:00
removed trailing spaces
This commit is contained in:
parent
506161a4cf
commit
4bd4d1cff6
@ -1,11 +1,11 @@
|
|||||||
"""
|
"""
|
||||||
Longest Arithmetic Subsequence Problem: Given an array nums of integers,
|
Longest Arithmetic Subsequence Problem: Given an array nums of integers,
|
||||||
return the length of the longest arithmetic subsequence in nums.
|
return the length of the longest arithmetic subsequence in nums.
|
||||||
|
|
||||||
Note that:
|
Note that:
|
||||||
- A subsequence is an array that can be derived from another array by
|
- A subsequence is an array that can be derived from another array by
|
||||||
deleting some or no elements without changing the order of the remaining elements.
|
deleting some or no elements without changing the order of the remaining elements.
|
||||||
- A sequence seq is arithmetic if seq[i + 1] - seq[i] are all the same value
|
- A sequence seq is arithmetic if seq[i + 1] - seq[i] are all the same value
|
||||||
(for 0 <= i < seq.length - 1).
|
(for 0 <= i < seq.length - 1).
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user