Skip to main content

10 docs tagged with "algorithms"

View all tags

Examples

Comparisons of DS&A tasks across different languages"

How to Build Tree Structures

Explore multiple techniques for converting flat or semi-structured data into trees in Python, including recursive, map-based, and bottom-up builds like Merkle trees.

Operational Transforms Explained

A deep dive into Operational Transformation (OT): the algorithm behind real-time collaborative editing systems like Google Docs.

To Recurse or Not To Recurse

Understanding the mechanics and use cases of recursion and iteration is crucial in deciding the best approach for solving a problem.

When an Easy Problem Isn't

A deceptively simple stack problem, and the mental traps it led me into before the greedy insight finally clicked

Why Heaps Are Often Implemented as Arrays

Heaps are binary trees, so why aren't they stored like one? Discover why arrays are the perfect data structure for implementing heaps — and how heaps work in the first place.