Longest Arithmetic Subsequence of Given Difference SolutionsNumber 1218Difficulty MediumAcceptance 44.7%Link LeetCodeSolutionsC++