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.
The for loop in the saveThePrisoner function is probably taking too long to execute. Notice that my code does not have such a for loop (other than the for loop that has to run all the testcases)
Save the Prisoner!
You are viewing a single comment's thread. Return to all comments →
The for loop in the saveThePrisoner function is probably taking too long to execute. Notice that my code does not have such a for loop (other than the for loop that has to run all the testcases)
HackerRank solutions.