| 1 | class Node { |
| 2 | Node next; |
| 3 | Node prev; |
| 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 | } |
| 13 | class AllOne { |
| 14 | HashMap<String, Node> map; |
| 15 | Node head; |
nothing calls this directly
no outgoing calls
no test coverage detected