Weighted Uniform Strings

  • + 3 comments

    I was using ArrayList instead of HashSet and it turned out that HashSet is much quicker. My code didn't pass some testcases with ArrayList.