Loading page…
Four interview problems keep the best few of many items. The move is to put the tie rule and filters into the key, then hold a heap of size k with the worst on top. The lecture covers repeats, counts, filters and items that leave.
Four interview problems sit on this street.