Sum Excluding the K Largest Elements

Company: Flipkart

Difficulty: easy