**Problem Statement:**
Given the required input arguments, write an efficient algorithm to solve the **Longest Common Subsequence** problem. Implement the required logic as specified by standard definitions for this classic algorithmic challenge.
**Hint / Expected Approach:**
2D DP table, diagonal match
**Edge Cases to Consider:**
- (1) Empty string
- (2) One string subset of other
- (3) No common characters