Rosetta Problems

Maximum Elegance of a K-Length Subsequence

https://leetcode.com/problems/maximum-elegance-of-a-k-length-subsequence