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.
Getting timeout errors on these test cases too (using Python 2). Is there any way to do this without factorials? Or is there a more efficient way to do this than with python's math module?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Matrix Tracing
You are viewing a single comment's thread. Return to all comments →
Getting timeout errors on these test cases too (using Python 2). Is there any way to do this without factorials? Or is there a more efficient way to do this than with python's math module?