@Override
	public T mode() {
		if (N == 0)
			return null;
		T mode = null;
		long found = 0;

		for (T k : freqTable.keySet()) {
			long time = freqTable.get(k);
			if (time > found) {
				found = time;
				mode = k;
			}
		}
		return mode;
	}