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.
My solution time complexity is 27*n, works fine for test case 19 on local, it only takes 2 seconds to complete, but I can't pass this case on hackerrank.I can't redcue calculation.
Some ideas for improvement?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
New Year Present
You are viewing a single comment's thread. Return to all comments →
My solution time complexity is 27*n, works fine for test case 19 on local, it only takes 2 seconds to complete, but I can't pass this case on hackerrank.I can't redcue calculation. Some ideas for improvement?