मुख्य कंटेंट तक स्किप करें

10 docs tagged with "trees"

सारे टैग देखें

AVL Trees

An overview of AVL trees, their properties, and operations.

B-Tree Deletion

A comprehensive guide to deleting keys from a B-Tree, covering leaf deletion, internal node deletion, borrowing from siblings, and node merging.

Expression-tree

An Expression Tree is a binary tree representing expressions with operators as internal nodes and operands as leaves.

Heavy-Light Decomposition

Heavy-Light Decomposition breaks a tree into chains so that path queries and updates can be answered in O(log^2 n) using a Segment Tree.

Practice Problems on Trees

In this post, we'll provide a list of curated practice problems on Trees from platforms like LeetCode and GeeksforGeeks. Trees are fundamental data structures in computer science, and practicing these problems will help strengthen your understanding of tree concepts and algorithms.

Splay Tree Insertion

A guide to splay tree insertion using zig, zig-zig, and zig-zag rotations with amortized O(log n) time complexity using the potential method analysis.

Tree Data Structures

An in-depth guide to tree data structures, covering types of trees, traversal methods, balancing, and algorithms with implementations.

Types of Trees

This document provides an overview of various types of trees in computer science. Understanding these tree types is essential for selecting the right data structure for your specific needs.