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.
dont use list, the access time of list is little more than the set, due to which some testcases will not work properly.
try to use set only. And if you are coding in python 2 then use raw_input. this will improve the efficiency of the code.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
No Idea!
You are viewing a single comment's thread. Return to all comments →
dont use list, the access time of list is little more than the set, due to which some testcases will not work properly. try to use set only. And if you are coding in python 2 then use raw_input. this will improve the efficiency of the code.