Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2844. Minimum Operations to Make a Special Number
Given a string representing a nonnegative integer, remove the fewest digits so the resulting number is divisible by 25. Observe only the suffixes "00", "25", "50", or "75" matter — find the minimal deletions needed to make any one of those two-digit patterns appear as the final digits (preserving the original order).
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.