Problem I’m solving a knapsack problem here. It works, but gives time limit exceeds on a certain test case. Problem […]

Problem https://leetcode.com/problems/shortest-common-supersequence/ Given two strings str1 and str2, return the shortest string that has both str1 and str2 as subsequences. […]