You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>Given two integers representing the <code>numerator</code> and <code>denominator</code> of a fraction, return <em>the fraction in string format</em>.</p>
2
+
3
+
<p>If the fractional part is repeating, enclose the repeating part in parentheses.</p>
4
+
5
+
<p>If multiple answers are possible, return <strong>any of them</strong>.</p>
6
+
7
+
<p>It is <strong>guaranteed</strong> that the length of the answer string is less than <code>10<sup>4</sup></code> for all the given inputs.</p>
0 commit comments