CodingReported in a candidate post, Oct 2020
Divide array into k subarrays of equal sum
Filed under Ongrid
The question
Write code to divide an array into k subarrays with equal sums; return -1 if not possible.
No write-up yet. Related questions below have one.
Related Ongrid questions
Collected from public candidate posts and coding forums. Updated Nov 2026.