Problem Statement: Let there are two strings S1 and S2. If the S1 is a subsequence of S2 return trueContinue reading
Category: Two-pointer Approach
What is Two Pointer Approach?
Introduction: This is one of the approaches which can be used to solve a problem in optimal time. First, we’llContinue reading