Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
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 is1.3855842704039755e-7
.I added small random tests. It should be easier to debug solutions now.