Skip to content

Instantly share code, notes, and snippets.

View hoangtu23's full-sized avatar

Tu Le hoangtu23

View GitHub Profile
@hoangtu23
hoangtu23 / ConsumerTask.java
Created January 10, 2021 06:56 — forked from VarunVats9/ConsumerTask.java
Count Min Sketch
import java.util.concurrent.BlockingQueue;
public class ConsumerTask implements Runnable {
private static final int H1 = 0;
private static final int H2 = 1;
private static final int H3 = 2;
private static final int H4 = 3;
final static int LIMIT = 100;