CodingEasy to medium
Subarrays with sum K and sort 0s, 1s, and 2s
Filed under IBM
The question
Solve problems similar to finding the number of subarrays with a sum equal to k and sorting an array of 0s, 1s, and 2s.
No write-up yet. Related questions below have one.
Related IBM questions
Collected from public candidate posts and coding forums. Updated Nov 2026.