Back to QuestionsPractice with This Question
Fraction to Recurring Decimal
108.7K views•Asked at Salesforce•
Medium
Question Explain
Given two integers representing the numerator and denominator of a fraction, return the fraction in string format. If the fractional part is repeating, enclose the repeating part in parentheses.
Start Trying This Question Simulation
Practice answering orally or with text to get instant AI feedback.