Available question text
Sort an array of nonnegative integers by the number of 1s in their binary representation (ascending), using the numeric value as a tiebreaker (also ascending); return the sorted array.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1356. Sort Integers by The Number of 1 Bits
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source