LeetCode Question · Dec 2020 · USA

Amazon | Phone | Prefix Lookup

3 upvotes 2,679 views 6 replies

Question Details

Given a Dictionary with a word and the weight (frequency, higher is better) of a word, like so - var words = new Dictionary<string, int>(); words.Add("amazon", 10); words.Add("amock", 10); ...

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Hash Table Strings Binary Tree Trie System Design Heap