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.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Nice article. I wonder what the impact of using the
collections.Counter
package has on the second solution? So instead of initializing thechars_counter
to a dict, you initialize it to thecollections.Counter
in-built for J's characters.