Whenever you're ready, walk me through how you'd approach this.
How would you implement a custom data structure to support a real-time search feature in a dashboard?
Explain how you would represent indexed values, support prefix and exact-match queries, update the structure as data changes, and keep searches responsive. Discuss expected time and space complexity, ranking, consistency, and important trade-offs. The interviewer expects a design-level answer with enough implementation detail to justify the selected structure.