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.
Wow, thank you for your comment. I spent like 5 hours or so messing with my code before coming here and finding this comment. I had tried finding larger strings to try to append together (e.g. adding three 5's at a time versus one 5) and that made it faster but not enough. But then you enlightened me, thank you so much.
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 Beast
You are viewing a single comment's thread. Return to all comments →
Wow, thank you for your comment. I spent like 5 hours or so messing with my code before coming here and finding this comment. I had tried finding larger strings to try to append together (e.g. adding three 5's at a time versus one 5) and that made it faster but not enough. But then you enlightened me, thank you so much.