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
Point72
Coding Question
AI Insights
Quick Summary
Sort an integer array so elements with lower frequencies appear first.
Break frequency ties by ordering elements in ascending numerical order.
Return the fully rearranged array matching these criteria.
What This Tests
Hash map usage for frequency counting
Implementing custom sorting comparators
Array reconstruction and expansion
Balancing time and space complexity
Common Patterns
Hashing
Sorting
Collapse
Hint
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