Skip to content

Instantly share code, notes, and snippets.

View Peryfraza's full-sized avatar

Alicja Olejnik Peryfraza

View GitHub Profile
@Peryfraza
Peryfraza / RB-Tree.cpp
Created February 28, 2021 22:08 — forked from SubCoder1/RB-Tree.cpp
Red Black Tree implementation in C++
#include <bits/stdc++.h>
using namespace std;
struct node {
int data{};
node* left = nullptr;
node* right = nullptr;
node* parent = nullptr;
string color;
};