Maximum Position-Weighted Sum of K Items

Company: INFOSYS

Difficulty: easy