DEV Community

Discussion on: Algorithms Problem Solving: Jewels and Stones

musale profile image
Musale Martin

Nice article. I wonder what the impact of using the collections.Counter package has on the second solution? So instead of initializing the chars_counter to a dict, you initialize it to the collections.Counter in-built for J's characters.