Problem clarification and contract
10%Senior signals
- ✓Clarifies the character set (e.g., lowercase letters only), whether duplicate words in the dictionary count separately, and what an empty prefix should return.
- ✓Confirms that the dictionary is built once and then queried many times, motivating a preprocessing structure.
Staff-level signals
- ◆Asks about expected dictionary size and query volume to justify the chosen tradeoff.
Common red flags
- ×Codes immediately while assuming a single query only, without recognizing the repeated-query motivation.
