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 hints

Topics

Also asked at 21 companies


More Oracle Questions

View all Oracle questions