CodingReported in a candidate post, Sep 2020
Partition an array so equal values stay in one partition
Filed under Flipkart
The question
Separate an array into partitions such that all elements with the same value fall in the same partition.
No write-up yet. Related questions below have one.
Related Flipkart questions
Collected from public candidate posts and coding forums. Updated Nov 2026.