Your question is Design an autocomplete component (LLD, UML). Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Design an autocomplete component (LLD, UML)
Asked in the tech 2 stage. Reported follow-ups: scalability and pagination. Explain the component’s object model, request flow, lookup strategy, ranking boundary, and how the design evolves from an in-process implementation to a scalable service. Include the UML relationships and discuss relevant latency, caching, and failure considerations.