Search Suggestions System at Oracle
Medium65.2% acceptance
This problem has 50.0% frequency at Oracle.
Problem Description
You are given an array of strings `products` and a string `searchWord`. Design a system that suggests at most three product names from `products` after each character of `searchWord` is typed. Suggested products should have common prefix with `searchWord`. If there are more than three products with...
Read full problem and hintsTopics
Also asked at 21 companies
More Oracle Questions
Two SumEasyLongest Substring Without Repeating CharactersMediumNumber of IslandsMediumLongest Palindromic SubstringMediumMerge k Sorted ListsHard
View all Oracle questions