Design Search Autocomplete System
Problem overview from a real Roblox interview:
Match queries and timestamps to prefixes for Roblox. Return distinct strings sorted by frequency, earliest timestamp, and lexicographical order.
Check more interview questions and experiences about Roblox
