实例介绍
C-Sharp-Algorithms是一个即插即用的标准数据结构和算法的类库项目,用C#编写。它包含75多个数据结构和算法,设计为面向对象的独立组件。
【实例截图】
【核心代码】
文件清单
└── C-Sharp-Algorithms-504140eb7e608bb9dffa8729345f9cd8d476bbcb
├── Algorithms
│ ├── Algorithms.csproj
│ ├── Common
│ │ ├── Comparers.cs
│ │ └── Helpers.cs
│ ├── Graphs
│ │ ├── BellmanFordShortestPaths.cs
│ │ ├── BipartiteColoring.cs
│ │ ├── BreadthFirstSearcher.cs
│ │ ├── BreadthFirstShortestPaths.cs
│ │ ├── ConnectedComponents.cs
│ │ ├── CyclesDetector.cs
│ │ ├── DepthFirstSearcher.cs
│ │ ├── DijkstraAllPairsShortestPaths.cs
│ │ ├── DijkstraShortestPaths.cs
│ │ └── TopologicalSorter.cs
│ ├── Numeric
│ │ ├── BinomialCoefficients.cs
│ │ ├── CatalanNumbers.cs
│ │ ├── GreatestCommonDivisor.cs
│ │ ├── SieveOfAtkin.cs
│ │ └── SieveOfEratosthenes.cs
│ ├── Search
│ │ └── BinarySearcher.cs
│ ├── Sorting
│ │ ├── BinarySearchTreeSorter.cs
│ │ ├── BubbleSorter.cs
│ │ ├── BucketSorter.cs
│ │ ├── CombSorter.cs
│ │ ├── CountingSorter.cs
│ │ ├── CycleSorter.cs
│ │ ├── GnomeSorter.cs
│ │ ├── HeapSorter.cs
│ │ ├── InsertionSorter.cs
│ │ ├── LSDRadixSorter.cs
│ │ ├── MergeSorter.cs
│ │ ├── OddEvenSorter.cs
│ │ ├── PigeonHoleSorter.cs
│ │ ├── QuickSorter.cs
│ │ ├── SelectionSorter.cs
│ │ └── ShellSorter.cs
│ ├── Strings
│ │ ├── EditDistanceCostsMap.cs
│ │ ├── EditDistance.cs
│ │ └── Permutations.cs
│ └── Trees
│ ├── BinaryTreeIterativeWalker.cs
│ └── BinaryTreeRecursiveWalker.cs
├── _config.yml
├── C-Sharp-Algorithms.sln
├── DataStructures
│ ├── Common
│ │ ├── Comparers.cs
│ │ ├── Helpers.cs
│ │ └── PrimesList.cs
│ ├── Data
│ │ ├── PrimesDocument_10K.csv
│ │ └── PrimesDocument_10K.txt
│ ├── DataStructures.csproj
│ ├── Dictionaries
│ │ ├── ChainedHashTable.cs
│ │ ├── CuckooHashTable.cs
│ │ ├── OpenAddressingHashTable.cs
│ │ └── OpenScatterHashTable.cs
│ ├── Graphs
│ │ ├── CliqueGraph.cs
│ │ ├── DirectedDenseGraph.cs
│ │ ├── DirectedSparseGraph.cs
│ │ ├── DirectedWeightedDenseGraph.cs
│ │ ├── DirectedWeightedSparseGraph.cs
│ │ ├── IEdge.cs
│ │ ├── IGraph.cs
│ │ ├── IWeightedGraph.cs
│ │ ├── UndirectedDenseGraph.cs
│ │ ├── UndirectedSparseGraph.cs
│ │ ├── UndirectedWeightedDenseGraph.cs
│ │ ├── UndirectedWeightedSparseGraph.cs
│ │ ├── UnweightedEdge.cs
│ │ └── WeightedEdge.cs
│ ├── Hashing
│ │ ├── PrimeHashingFamily.cs
│ │ └── UniversalHashingFamily.cs
│ ├── Heaps
│ │ ├── BinaryMaxHeap.cs
│ │ ├── BinaryMinHeap.cs
│ │ ├── BinomialMinHeap.cs
│ │ ├── IMaxHeap.cs
│ │ ├── IMinHeap.cs
│ │ ├── KeyedPriorityQueue.cs
│ │ └── MinPriorityQueue.cs
│ ├── Lists
│ │ ├── ArrayList.cs
│ │ ├── CircularBuffer.cs
│ │ ├── DLinkedList.cs
│ │ ├── DLinkedList_KeyValue.cs
│ │ ├── Queue.cs
│ │ ├── SkipList.cs
│ │ ├── SkipListNode.cs
│ │ ├── SLinkedList.cs
│ │ └── Stack.cs
│ ├── SortedCollections
│ │ ├── SortedDictionary.cs
│ │ └── SortedList.cs
│ └── Trees
│ ├── AugmentedBinarySearchTree.cs
│ ├── AVLTree.cs
│ ├── AVLTreeNode.cs
│ ├── BinarySearchTree.cs
│ ├── BinarySearchTreeMap.cs
│ ├── BinarySearchTreeMapNode.cs
│ ├── BinarySearchTreeNode.cs
│ ├── BTree.cs
│ ├── IBinarySearchTree.cs
│ ├── RedBlackTree.cs
│ ├── RedBlackTreeMap.cs
│ ├── RedBlackTreeMapNode.cs
│ ├── RedBlackTreeNode.cs
│ ├── TernarySearchTree.cs
│ ├── TernaryTreeNode.cs
│ ├── TreeDrawer.cs
│ ├── Trie.cs
│ ├── TrieMap.cs
│ ├── TrieMapNode.cs
│ └── TrieNode.cs
├── LICENSE
├── Nuget
│ ├── c-sharp-algorithms.nuspec
│ ├── images
│ │ └── icon.png
│ ├── nuget.exe
│ └── publish_nuget_win.cmd
├── README.md
├── TODO.md
└── UnitTest
├── AlgorithmsTests
│ ├── BinarySearcherTest.cs
│ ├── BinarySearchTreeSorterTest.cs
│ ├── BinaryTreeRecursiveWalkerTests.cs
│ ├── BubbleSorterTest.cs
│ ├── CatalanNumbersTest.cs
│ ├── CountingSortTest.cs
│ ├── GraphsBipartiteColoringTest.cs
│ ├── GraphsBreadthFirstPathsTest.cs
│ ├── GraphsBreadthFirstSearchTest.cs
│ ├── GraphsConnectedComponents.cs
│ ├── GraphsCyclesDetectorTests.cs
│ ├── GraphsDepthFirstSearchTest.cs
│ ├── GraphsDijkstraShortestPathsTest.cs
│ ├── GraphsTopologicalSorterTest.cs
│ ├── GreatestCommonDivisorTests.cs
│ ├── HeapSorterTest.cs
│ ├── InsertionSortTest.cs
│ ├── LSDRadixSorterTest.cs
│ ├── MergeSorterTest.cs
│ ├── QuickSortTest.cs
│ ├── SieveOfAtkinTest.cs
│ ├── SieveOfEratosthenesTests.cs
│ ├── StringEditDistanceTest.cs
│ └── StringPermutationTests.cs
├── DataStructuresTests
│ ├── ArrayListTest.cs
│ ├── AVLTreeTest.cs
│ ├── BinaryHeapsTest.cs
│ ├── BinarySearchTreeMapTests.cs
│ ├── BinarySearchTreeTest.cs
│ ├── BinomialHeapsTest.cs
│ ├── BTreeTest.cs
│ ├── CircularBufferTest.cs
│ ├── CliqueGraphTest.cs
│ ├── CuckooHashTableTest.cs
│ ├── DLinkedListTest.cs
│ ├── GraphsDirectedDenseGraphTest.cs
│ ├── GraphsDirectedSparseGraphTest.cs
│ ├── GraphsDirectedWeightedDenseGraphTest.cs
│ ├── GraphsDirectedWeightedSparseGraphTest.cs
│ ├── GraphsUndirectedDenseGraphTest.cs
│ ├── GraphsUndirectedSparseGraphTest.cs
│ ├── GraphsUndirectedWeightedSparseGraphTest.cs
│ ├── HashTableSeparateChainingTest.cs
│ ├── PrimeListTest.cs
│ ├── PriorityQueuesTest.cs
│ ├── QueueTest.cs
│ ├── RedBlackTreeMapTests.cs
│ ├── RedBlackTreeTest.cs
│ ├── SkipListTest.cs
│ ├── SLinkedListTest.cs
│ ├── SortedDictionaryTests.cs
│ ├── SortedListTests.cs
│ ├── StackTest.cs
│ ├── TernarySearchTreeTest.cs
│ ├── TrieMapTest.cs
│ ├── TrieTest.cs
│ └── UndirectedWeightedDenseGraphTests.cs
└── UnitTest.csproj
24 directories, 171 files
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论