Fraction to Recurring Decimal
Try to solve the Fraction to Recurring Decimal problem.
We'll cover the following...
Statement
Given the two integer values of a fraction, numerator
and denominator
, implement a function that returns the fraction in string format. If the fractional part repeats, enclose the repeating part in parentheses.
Constraints:
denominator