Mar 58 min read
Longest Common Subsequence
Learn how to solve the Longest Common Subsequence coding problem to prepare for your next technical interview! Longest Common Subsequence is a classic test of whether you can define a two-dimensional DP state and reason about choices across two inputs simultaneously. Get the state definition right and the solution writes itself. Get it wrong and you'll spin in circles.