Favorite subsequences

Problem Name:
Favorite subsequences
Site:HackerEarth
Links:
Tags:
Login to view your/friends' submissions
Login to suggest tags