Exactly K End Removals from a Matrix

Company: NK Securities

Difficulty: medium