line length shortened

This commit is contained in:
Tejaswi Tyagi 2024-10-03 18:06:25 +00:00
parent ab88a43d8c
commit 506161a4cf

View File

@ -1,12 +1,12 @@
""" """
Longest Arithmetic Subsequence Problem: Given an array nums of integers, return the length Longest Arithmetic Subsequence Problem: Given an array nums of integers,
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 deleting some or no - A subsequence is an array that can be derived from another array by
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 (for 0 <= i < - A sequence seq is arithmetic if seq[i + 1] - seq[i] are all the same value
seq.length - 1). (for 0 <= i < seq.length - 1).
""" """