Available question text
Reorder the rows of a table so that entries are grouped by their gender attribute (e.g., all males before all females), typically while preserving the relative order within each gender. The core challenge is performing a stable partition of records efficiently for large datasets (in-place or optimal time/space).
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 2308. Arrange Table by Gender
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source