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.
Refer python documentation for split() function...
It's default value is None!
Also the inputs for firstSet and secSet are humungous lists!You need to convert them to sets. This will solve the timeout problem.
See my code,you'll get the idea.
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 →
Refer python documentation for split() function... It's default value is None! Also the inputs for firstSet and secSet are humungous lists!You need to convert them to sets. This will solve the timeout problem. See my code,you'll get the idea.