Sponsored
Reserved space — layout preview until AdSense is connected
Lists & Arrays
easy
Two Sum
Return indices (i, j) with i < j such that nums[i] + nums[j] == target.
dict
complement
Dicts & Sets
easy
Word frequency
Return a dict mapping each word to its count in the sentence.
dict
counter
Dicts & Sets
easy
First non-repeating character
Find the index of the first character that appears only once.
dict
strings
counter
Dicts & Sets
easy
Most frequent element
Return the element that appears most often in a list.
counter
dict
Showing 4 challenges · easy