Algorithms and computational thinking

What operation does Huffman coding repeatedly perform to construct an optimal prefix-free code for known symbol frequencies?