Skip to content
Avio Lines
← Dynamic Programming lineD18Stop 93 of 210

Longest Arithmetic Subsequence of Given Difference (LeetCode 1218)

MediumLeetCode 1218 · Subsequences/Strings (LCS, Edit Distance) · Google, Meta · 32:28Longest Arithmetic Subsequence of Given Difference · Recur + Memo · Optimal · META · Leetcode-1218
MIK's code LeetCode ↗ YouTube ↗

My notes

Sign in to keep private notes on every station, with video timestamps.

Try it before watching

Pause here and write your approach in two lines. Compare it with MIK's when the video ends.

Sign in to write your approach →

About this video

Video solution for LeetCode 1218 Longest Arithmetic Subsequence of Given Difference by codestorywithMIK: Dynamic Programming, Medium. Topics: Array, Hash Table, Dynamic Programming. Watch the explanation, then check the code and solve it on LeetCode.

Difficulty
medium
Topics
Array, Hash Table, Dynamic Programming
Patterns
Subsequences/Strings (LCS, Edit Distance)
Asked at
GoogleMeta
Duration
32:28