Status: IN
The swap requirement `a - b = (sumA - sumB) / 2` reduces a two-variable search to a one-variable lookup; integer division is safe because the difference is always even when a valid swap exists.
Source: entries/2026/06/06/fair-candy-swap-solution.md
JSON