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
+18 pts
16m
Dicts & Sets
easy
Word frequency
Return a dict mapping each word to its count in the sentence.
dict
counter
+10 pts
10m
Dicts & Sets
easy
First non-repeating character
Find the index of the first character that appears only once.
dict
strings
counter
+12 pts
12m
Dicts & Sets
easy
Most frequent element
Return the element that appears most often in a list.
counter
dict
+8 pts
8m
Showing 4 challenges · easy