The effect of direction on recursion and understanding code - Longest Common Subsequence
Today Iβm going to discuss another fun and common challenge. Itβs the Longest Common Subsequence a.k.a. LCS. Iβll first focus on discussing a pain point I went through when I was trying to compare the algorithm I deduced on my own vs a few other algorithms I saw online. Our algorithms seemed very similar. Yet different. It made debugging my code based on other code very difficult. This is a very common problem I face when I doing leetcode....