Water filling algorithm

From Wikipedia, the free encyclopedia