RodneyShag / HackerRank_solutions

317 efficient solutions to HackerRank problems
MIT License
2.69k stars 1.44k forks source link

does not work correctly with input set 2 from hackerrank #18

Closed acho-bacho closed 4 years ago

acho-bacho commented 4 years ago

https://github.com/RodneyShag/HackerRank_solutions/blob/df63989039bf20f1f59d7cd78dff610c545bc591/Algorithms/Strings/Weighted%20Uniform%20Strings/Solution.java#L25

RodneyShag commented 4 years ago

I just re-checked the code and it works correctly. Replace all existing Java 8 code in their editor with my code and it will work. Good luck!