MCPcopy Create free account
hub / github.com/Tiwarishashwat/InterviewCodes / Node

Method Node

AllOoneDataStructure.java:6–11  ·  view source on GitHub ↗
(int f)

Source from the content-addressed store, hash-verified

4 int freq;
5 HashSet<String> keys;
6 Node(int f){
7 next = null;
8 prev = null;
9 freq = f;
10 keys = new HashSet<>();
11 }
12}
13class AllOne {
14 HashMap<String, Node> map;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected