Dynamic Programming Medium Decode ways Minimum Cost for Tickets Minimum Path Sum Longest Common Subsequence LCS Uncrossed Lines