LeetCode Question · Oct 2020 · Los Angeles

Bloomberg | Onsite | Top K Stocks

23 upvotes 9,240 views 18 replies

Question Details

Implement the following two functions such that they are optimal. void addStocksVolume(string stockSymbol, int volume) vector<string> topKstocks(int k) addStocksVolume receives a symbol (INTC, APPL, etc) plus a volume which you cumulate over time. to…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Binary Tree Hash Table Heap Sorting Strings