Given a fraction as a string "numerator/denominator" (the numerator may be negative), return its decimal representation as a string. If the fractional part repeats, enclose the repeating digits in…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.