Rosetta Problems

Determine the Minimum Sum of a k-avoiding Array

https://leetcode.com/problems/determine-the-minimum-sum-of-a-k-avoiding-array