Subsequence Weighting

Problem Name:
Subsequence Weighting
Site:HackerRank
Links:
Tags:
Problem setters: