Maximum subsequences

Problem Name:
Maximum subsequences
Site:HackerEarth
Links:
Tags:
Problem setters: