Add approach docs for the Word Count exercise
A while ago, I worked through the Word Count exercise and found the varied approaches interesting. Now that I have the time, I propose adding approach docs for the following approaches:
- A manual iteration approach with a variant that uses
itertools.chain()for performance - A
str.maketrans()/str.translate()approach, with variants for manual looping vscollections.Counter - A
re.split()pluscollections.Counterapproach - A
re.findall()approach, either as its own doc or as a variation of the previous one
The iterations of my solution roughly correspond to each approach/variation in this list.
I would be happy to draft up a PR for this after some details are decided upon (such as one unified regex approach doc vs separate re.split() and re.findall() ones).
Hello. Thanks for opening an issue on Exercism 🙂
At Exercism we use our Community Forum, not GitHub issues, as the primary place for discussion. That allows maintainers and contributors from across Exercism's ecosystem to discuss your problems/ideas/suggestions without them having to subscribe to hundreds of repositories.
This issue will be automatically closed. Please use this link to copy your GitHub Issue into a new topic on the forum, where we look forward to chatting with you!
If you're interested in learning more about this auto-responder, please read this blog post.