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.
Ok, an update.. using double isn't helping as i lose precision its fast though, gets me answer in less than a second which takes 3 seconds using BigInt. Any tips from those who implemented the solution in scala?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Sherlock and the Maze
You are viewing a single comment's thread. Return to all comments →
Ok, an update.. using double isn't helping as i lose precision its fast though, gets me answer in less than a second which takes 3 seconds using BigInt. Any tips from those who implemented the solution in scala?