VIDEO EDITORIAL: SUBSPLAY | Easy Subsequence Selection

(unofficial) VIDEO EDITORIAL: VIDEO_SUBSPLAY
Problem Name: Easy Subsequence Selection Problem
Link: PROBLEM_SUBSPLAY

4 Likes

the youtube link seems to be broken

1 Like

thank you! It is fixed now

1 Like

Could you please explain this for the problem?:

Example Input

1
4
anxa

Example Output

1

why isn’t the answer 3 in the sample output?
A= “anx” , B= “anx” should be valid, right? Index array would be Ai = {0,1,2} and {3,1,2}. Correct me where I am wrong please

Subsequence means order should not be changed. So indices should be in ascending order

1 Like

Thank you :slight_smile: