Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
You realize complexity is measured in terms of worse case. So worst case is O(N) if you're iterating through the list. There's no such thing as O(2N) factors drop off in complexity measures.
Very nice. I didn't know Seq.mapi exists unfortunately so I used List.fold2 to the same end. Thing with the bases and shifting is also great. Thank you for new ideas.
This is not best practise. You are counting the letters for every letter.
You will count for one value multiple times.
This is not a good practise since you go through the array twice.