Search
⌘K
Get Premium
Leetcode 592. Fraction Addition and Subtraction
Parse a string of signed fractions, sum them correctly accounting for signs (e.g., by accumulating with a common denominator or using LCM), and return the result as an irreducible fraction (use gcd to reduce; output x/1 for integers).
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.