Amazon interview question

Implement a simple load balancing algorithm in pseudo code (over the phone)

Interview Answers

Anonymous

May 1, 2011

min heap for the load factor. periodically you construct that heap and the other requests pick the root of the heap

Anonymous

Mar 24, 2009

Not easy. You'll have to explain and code it... ON THE PHONE.