Solution: Shortest Common Supersequence(SCS)
This review provides a detailed analysis of the different ways to solve the shortest common supersequence problem.
Solution 1: brute force
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.