Skip to content

Latest commit

 

History

History
64 lines (44 loc) · 1.32 KB

File metadata and controls

64 lines (44 loc) · 1.32 KB

🌳 Search-Tree-Structures

💡 Overview

This project implements a self-balancing binary search tree known as the Red-Black Tree (RBT). The goal of the project is to provide an efficient data structure supporting logarithmic time complexity for insertion, deletion, and lookup operations.

The implementation is written in modern C++ with focus on: • correctness of the Red-Black Tree invariants • performance and memory efficiency • clear separation between the core data structure and testing utilities

The project also includes unit tests and automatically generated documentation.

⚙️ Building Commands

# Initialize build directory
cmake -S . -B build

# Builds project
cmake --build build --target main

# Run project
./build/main

# Builds tests
cmake --build build --target tests

# Run tests
./build/tests

📚 Documentation

Generate Documentation Template

# Generates documentation
doxygen -g

# Updates documentation
doxygen

# Run documentation
./docs/html/index.html

🔧 Git Hooks

The repository supports custom Git hooks for development automation.

# Enables git hooks
chmod u+x .git/hooks/*

🛠 Technologies