Closed acho-bacho closed 4 years ago
https://github.com/RodneyShag/HackerRank_solutions/blob/df63989039bf20f1f59d7cd78dff610c545bc591/Algorithms/Strings/Weighted%20Uniform%20Strings/Solution.java#L25
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!
https://github.com/RodneyShag/HackerRank_solutions/blob/df63989039bf20f1f59d7cd78dff610c545bc591/Algorithms/Strings/Weighted%20Uniform%20Strings/Solution.java#L25