Hacker News new | past | comments | ask | show | jobs | submit login

Left leaning red black trees are simpler to implement than the regular red black tree.



Left leaning red black trees enforce extra constraints, which remove symmetries. This actually adds an edge case when instead you can just treat left/right rotations and comparisons as symmetric operations.

Left Leaning Red Black Trees Considerer Harmful: https://www.read.seas.harvard.edu/~kohler/notes/llrb.html




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: