Interview question asked to Software Engineers interviewing at Ripple, Envoy, Informatica and other companies. Original question asked: Top K Frequent Elements.