Advertisement

Latest huffman Activity

I had to make a hash function for complex<float> because even though it's a standard type, it has no default hash function. That's very annoying.

#include <iostream>
#include <vector>
#include <string>
#include <queue>
#include <unordered_map>
#include <map>…
3,389 views
Advertisement
Advertisement
Advertisement