Minimum Array Cost With Unlimited Insertions

Company: Microsoft

Difficulty: easy