Skip to content

Instantly share code, notes, and snippets.

View hflexgrig's full-sized avatar

Hakob Grigoryan hflexgrig

  • Armenia, Yerevan
View GitHub Profile

If .DS_Store was never added to your git repository, simply add it to your .gitignore file.

If you don't have one, create a file called

.gitignore

In your the root directory of your app and simply write

@JamesRandall
JamesRandall / RedBlackTree.cs
Last active April 28, 2024 19:30
Red-Black Tree Implementation in C#
using System;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace OpinionatedCode.Collections
{
public sealed class RedBlackTree<TKey, TValue>
{
private readonly RedBlackTreeNode<TKey, TValue> _leaf = RedBlackTreeNode<TKey, TValue>.CreateLeaf();