Anagram check
Return True if two strings are anagrams of each other.
Word frequency
Return a dict mapping each word to its count in the sentence.
First non-repeating character
Find the index of the first character that appears only once.
Most frequent element
Return the element that appears most often in a list.
Infinite counter generator
Create an infinite counter starting from `start`, stepping by `step`.
Showing 5 challenges · easy