Category Archives: C#

C#.Algo.SymbolGraph

Git SymbolGraph.cs // switched to C# Dictionary in spite of SequentialSymbolTable

SymbolTable – doesn’t work to symbol graph because of contains method

Graph.cs

Bag.cs

Test

 

Posted in C# | Comments Off on C#.Algo.SymbolGraph

C#. Algo.Graph. ClosableVertexSearch

testGraph  – which verticles are closable? We have 3 groups! 7 and 8 closable ! 0 and 7 not ! Git

Graph.cs

Bag.cs

Test.cs

 

Posted in C# | Comments Off on C#. Algo.Graph. ClosableVertexSearch

С#.Algo.Graph.BreathFindSearch

testGraph Git

Graph.cs

Bag.cs

Test

 

Posted in C# | Comments Off on С#.Algo.Graph.BreathFindSearch

С#.Algo.Graph.DepthFindSearch

testGraph Git

Graph.cs

Bag.cs

Test.cs

 

Posted in C# | Comments Off on С#.Algo.Graph.DepthFindSearch

С#. Graph on linked lists

testGraph Git Graph can be initiated from fileName.txt first line number of verticles second line number of edges other lines adjacent lines fileName.txt

  Graph.cs 

Example of use

 

Posted in C# | Comments Off on С#. Graph on linked lists

C#. LinearProbingHashST

Seidgwick Git LinearProbingHashST.cs

Git Test

 

Posted in C# | Comments Off on C#. LinearProbingHashST

C#. Algo. SeparateChainingHashST – hashing with separate chains

We use here symbol table based on linked list (class SequentialSearchST<Key, Value>), and building such linked list for every hash, so we have array of linked lists Jasewick Git

Posted in C# | Comments Off on C#. Algo. SeparateChainingHashST – hashing with separate chains

C#.Algo.RedBlackBST

Git From Jasewick, Algos on Java, translated to C# Binary tree grows down, balanced binary tree (for ex. 2-3 BST or RedBlack BST is not so hi – so search in it will take only lgN) RedBlackBST.cs

 

Posted in C# | Comments Off on C#.Algo.RedBlackBST

C#. BinarySearchTree – Traverse ways

Source In this example binary tree is built… we just take a look on traversies Binary Search Tree A Binary Search Tree is a binary tree with a search property where elements in the left sub-tree are less than the … Continue reading →

Posted in C# | Comments Off on C#. BinarySearchTree – Traverse ways

C#.Algo.BinarySearchTree

From JaseWick, source… Example shows how to search, using Binary Tree, built on 2 pointers linked list Also a lot of other methods in BST class… Git Main and tests

Только Get и Put

  Git Binary Search … Continue reading →

Posted in C# | Comments Off on C#.Algo.BinarySearchTree