We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
HackerRank supports the bignumber.js library in order to solve issues like this, but it's not advertised nearly enough. I've had more than my share of headaches because of this. Anyway... Here's my solution using JavaScript, hope it helps someone who's stuck:
Separate the Numbers
You are viewing a single comment's thread. Return to all comments →
HackerRank supports the bignumber.js library in order to solve issues like this, but it's not advertised nearly enough. I've had more than my share of headaches because of this. Anyway... Here's my solution using JavaScript, hope it helps someone who's stuck: