Ad
  • Custom User Avatar

    There are no floating-point issues in JS. Your solution is incorrect. Here is an example: s = "(10/174/620/669)". Your solution returns -5.614415729596025 but the expected result is 1.3855842704039755e-7.

    I added small random tests. It should be easier to debug solutions now.