Leanpub Header

Skip to main content

Advanced Data Structures Handbook: The JavaScript Edition

Simplifying Complexity for Real-World Applications

Designed for JavaScript developers, this handbook dives into the practical implementation of advanced data structures such as B-Trees, Tries, and probabilistic models like Bloom Filters. Focused on real-world challenges, it explains how to handle large datasets, optimize caching, and implement efficient searches. With clear examples and technical depth, this book offers a realistic approach to applying advanced concepts in scalable and reliable systems.

The author is letting you choose the price you pay for this book!

Pick Your Price...
PDF
EPUB
WEB
94
Pages
16,770Words
About

About

About the Book

"Advanced Data Structures Handbook: The JavaScript Edition" is a practical, accessible guide for JavaScript developers looking to master advanced data structures with real-world applications. Moving beyond basic arrays and hashmaps, this book introduces foundational concepts and provides step-by-step implementations of advanced structures such as B-Trees, Tries, and Red-Black Trees. It highlights their practical use in critical areas like file systems, caching, and database management.

Delving deeper, the book explores probabilistic data structures, including Bloom Filters and Count-Min Sketches, to demonstrate how these tools can efficiently manage large datasets with scalability in mind. Each chapter combines clear explanations with JavaScript-based code snippets and practical scenarios, empowering readers to understand the strengths of each structure and when to apply them—whether for prefix matching, optimizing memory usage, or approximate data analysis.

Whether you're an aspiring developer or a seasoned engineer tackling complex challenges, this handbook equips you with the knowledge and tools to enhance your problem-solving skills and make informed decisions when working with advanced data structures.

Price

Pick Your Price...

Minimum price

$10.00

$20.00

You pay

$20.00

Author earns

$16.00
$

All prices are in US $. You can pay in US $ or in your local currency when you check out.

EU customers: prices exclude VAT, which is added during checkout.

...Or Buy With Credits!

Number of credits (Minimum 1)

1
The author will earn $12.00 from your purchase!
You can get credits monthly with a Reader Membership

Author

About the Author

Hela Ben Khalfallah

Hello! I’m Héla Ben Khalfallah, a senior software engineering with a focus on modern web solutions.

I’m a passionate software engineer crafting elegant and high-performing web experiences. I have a special love for React, Node.js, and Python, and thrive in full-stack development, seamlessly working across the frontend, backend, and related configurations. My transversal skillset enables me to adapt to diverse challenges, ensuring robust and well-rounded solutions.

I enjoy exploring software architecture and design (architecture styles, design patterns, clean code), FrontendOps (code generators, CLI tools, configurations), and advanced software concepts (optimal algorithms, data structures, Big O). My focus is on optimizing performance, streamlining workflows, and building websites that are not only visually stunning but also SAGES (Semantic, Accessible, Green, Easy, and Secure).

Beyond coding, I’m passionate about simplifying software engineering by breaking down complex problems into elegant solutions and clearly communicating technical concepts. I channel this enthusiasm through my blog, where I share insights, and through storytelling at conferences, meetups, and events.

Driven by a constant desire to learn and innovate, I’m always pushing the boundaries of my skills and embracing opportunities to explore new technologies.

Contents

Table of Contents

    • Introduction
    • Chapter 1: Understanding the Importance of Big O Notation
      • What is Big O Notation?
      • Why is Big O Important?
      • Practical Applications
      • Optimization Strategies
    • Chapter 2: The Limitations of Basic Data Structures
      • Challenges with Arrays
      • Challenges with HashMaps
      • Challenges with LinkedList and DoublyLinkedList
    • Chapter 3: Tree and Related Data Structures
      • Binary Search Tree (BST)
      • AVL Trees
      • Red-Black Trees
      • B-Trees
      • Tries (Prefix Trees)
      • Binary Heaps
      • Summary of Tree Data Structures
    • Chapter 4: Cloud Data Structures
      • Bloom Filters
      • HyperLogLog
      • Count-Min Sketch
      • t-digest
      • SimHash
      • Min-Hash
      • Merkle Trees
    • Chapter 5: Cache Eviction Strategies
      • Least Recently Used (LRU)
      • Least Frequently Used (LFU)
    • Chapter 6: Hands-on Designing a File System Desktop Application
      • Features
      • File Structure
      • Implementation
    • Conclusion
    • Appendices
      • Appendix A: BinarySearchTree.ts
      • Appendix B: AVLTree.ts
      • Appendix C: RedBlackTree.ts
      • Appendix D: Trie.ts
      • Appendix E: BTree.ts
      • Appendix F: MaxHeap.ts
      • Appendix G: MinHeap.ts
      • Appendix H: LFUCache.ts
      • Appendix I: LRUCache.ts
      • Appendix J: Probabilistic Data Structures

The Leanpub 60 Day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

Now, this is technically risky for us, since you'll have the book or course files either way. But we're so confident in our products and services, and in our authors and readers, that we're happy to offer a full money back guarantee for everything we sell.

You can only find out how good something is by trying it, and because of our 100% money back guarantee there's literally no risk to do so!

So, there's no reason not to click the Add to Cart button, is there?

See full terms...

Earn $8 on a $10 Purchase, and $16 on a $20 Purchase

We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.

(Yes, some authors have already earned much more than that on Leanpub.)

In fact, authors have earned over $14 million writing, publishing and selling on Leanpub.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub