Solution: Shortest Common Supersequence
This review provides a detailed analysis of the different ways to solve the shortest common supersequence problem.
Solution #1: Brute force
First, let’s start by looking at the brute force solution to solve this problem.
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.