新增数据结构

This commit is contained in:
Sanchime 2022-08-14 16:45:17 +08:00
parent 8b272662ca
commit 9991add633
3 changed files with 12 additions and 1 deletions

3
.gitignore vendored
View File

@ -1,2 +1,3 @@
/bin
/obj
/obj
.fake

View File

@ -0,0 +1,9 @@
namespace Sanchime.DataStructures.Trees
module RedBlack =
type Color = Red | Black
type RedBlackTree<'T> =
| Node of Color * 'T RedBlackTree * 'T * 'T RedBlackTree
| Leaf

View File

@ -10,6 +10,7 @@
<Compile Include="Algrithms/Sorts/InsertSort.fs" />
<Compile Include="Algrithms/Sorts/BubbleSort.fs" />
<Compile Include="Algrithms/Sorts/Test.fs" />
<Compile Include="DataStructures/Trees/RedBlack.fs"/>
<Compile Include="Monads/ReaderMonad.fs" />
<Compile Include="Monads/FreeMonad.fs" />
<Compile Include="Monads/Test.fs" />