New
ML System Design & SQL tracks just landed
See what's new
×
Question Bank
Pricing
Blog
Forum
HOT
JobRadar
NEW
Referral
Description
Solution
Discussion
Submissions
Ask AI
Question Bank
Bloomberg
Coding Question
AI Insights
Quick Summary
Given a lowercase string, determine if deleting at most one character makes all character counts equal.
A valid string requires every distinct character to appear the exact same number of times.
Return true if the string already satisfies this condition or can be fixed with a single removal.
What This Tests
Frequency counting and histogram analysis
Edge case handling in string manipulation
Conditional logic based on numerical distributions
Space-time optimization with bounded alphabets
Common Patterns
Hashing
Collapse
Hint 1
Hint 2
What Interviewers May Ask Next
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
Qwen
Qwen3.6-Flash
0/2000
Auto
Debug
Run
Submit
Test Cases
Input
Output
Expected