1 Line
This approach is based on Rubyโs String#count method. It takes the string j as the set of characters to count in the string s. Th...
For further actions, you may consider blocking this person and/or reporting abuse
Awesome solution. This is my favourite problem on LeetCode. Itโs a simple introduction to hashmaps and why theyโre amazing ๐