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.
Great. I had tried a similar approach with a list using the strings library, like low = list(string.ascii_lowercase), but it timed out. I'm going to have to look into why the dict was faster.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Weighted Uniform Strings
You are viewing a single comment's thread. Return to all comments →
Great. I had tried a similar approach with a list using the strings library, like
low = list(string.ascii_lowercase)
, but it timed out. I'm going to have to look into why the dict was faster.