Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 2308. Arrange Table by Gender
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).
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.