An explanation of the algorithm for finding the length of the  Longest Common Subsequence of two given strings along with a C++ implementation .