← Questions

Choose words with no shared letters to cover the most letters

0
MetaCodingLast asked Aug 2026

Given a list of lowercase words, pick a subset in which no letter appears twice across the chosen words, maximizing the number of distinct letters covered. Start with a correct backtracking search, then make it fast enough for lists of about ten thousand words by encoding words as bitmasks and reusing states. The round runs in stages, with an AI assistant available.

Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding