Showing 3 questions
Determine the number of '1' bits present in the binary representation of a given integer. Essentially, count how many bits are set to one.
#1. Number of 1 Bits
Find the k most frequently occurring words in a given list of words. Return the top k words sorted by frequency, and then alphabetically for words with the same frequency.
#2. Top K Frequent Words
Transform one word into another, one letter at a time, using only words from a given dictionary. Find the shortest sequence of words to reach the target.
#3. Word Ladder