Bloomberg Interview Question

1. Output the two smallest number in an array 2. LRU (as the one in Leetcode)

Interview Answer

Anonymous

Dec 2, 2015

1. Scan the Array 2. One heap and one hashmap