3 ms·
I like the method of building a binary heap "from the bottom". The elegant part is to see, that it is done in linear time :) I also like "greedy" (Matroid) alg
by IvanK_net 8y ago
I like the method of building a binary heap "from the bottom". The elegant part is to see, that it is done in linear time :)
I also like "greedy" (Matroid) algorithms and Huffman trees :)