โ† TBO questions
CodingMedium

Pick one element per row so sum is closest to k

Filed under TBO

The question

From each row of a 2D matrix choose one element so that the difference between their sum and k is minimal.

No write-up yet. Related questions below have one.

Related TBO questions

Collected from public candidate posts and coding forums. Updated Nov 2026.