The RansomNote Leetcode solution is not working properly
I am working on a Leetcode problem, and currently the algorithm that I have passes 98/128 for the testcases. I created teo (2) dictionaries with counts of each occurence, and wrote a little bit to compare the two counts.
RansomNote leetcode solution not working properly
I am working on a leetcode problem and currently the algorithm that I have passes 98/128 of the testcases. I created 2 dictionaries with counts of each occurance and wrote a little bit to compare the two counts. Here is what I have: