Search
⌘K
Get Premium
Leetcode 2264. Largest 3-Same-Digit Number in String
Given a numeric string, return the largest "good" integer — a length-3 substring made of the same repeated digit (leading zeros allowed) — or "" if none exist. Because all candidates have length 3, the maximum is determined solely by the repeated digit value.
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.