LeetCode
Fraction Addition and Subtraction
Click
here
for an explanation.