Math Fundamentals18 sections · 814 units
Open in Course

Problem - Fraction Addition

Add fractions using GCD

Given a string representing an expression of fractions, return the result as a simplified fraction. For example, "-1/2+1/2" returns "0/1" and "1/3-1/2" returns "-1/6".

This problem tests your ability to use GCD for simplifying fractions and LCM for finding common denominators. It combines parsing with the math concepts from this section.