Search⌘ K
AI Features

Search Suggestions System

Explore implementing a search suggestions system that provides up to three product names matching the typed prefix using a Trie data structure. Understand how to efficiently store and search strings to deliver lexicographically ordered suggestions after each character input.

Statement

Given an array of strings called products and a word to search, design a system that, when each character of the searched word is typed, suggests at most three product names ...