Leetcode 2829. Determine the Minimum Sum of a k-avoiding Array | Hello Interview