Maximum Score Removing Digit Blocks

Company: PhonePe

Difficulty: hard