LeetCode

Fair Candy Swap

Click here for an explanation.