LCS & TwoSum