← ALL NOTES
Array

1268. Search Suggestions System

As searchWord is typed one character at a time, after each keystroke return up to 3 lexicographically smallest products starting with the prefix so far. Prefix search with sorted results is the…

Loading…