Tagged “Data-Structures”
2 articles with this tag.
- Probabilistic data structuresAnswering membership, counting and frequency questions over huge data sets in tiny, fixed memory by accepting small, bounded errors: Bloom filters (and counting and cuckoo filters), HyperLogLog for distinct counts, Count-Min Sketch for heavy hitters, and where each appears in system design — with formulas and Java code.
- Collections FrameworkHow Java collections work inside: the interface hierarchy and sequenced collections (Java 21), ArrayList vs LinkedList, HashMap internals (hashing, buckets, treeification, resizing), LinkedHashMap and LRU caches, TreeMap, sets, queues and deques, immutable collections, fail-fast iterators, and choosing the right collection.