Skip to content

Commit d556961

Browse files
committed
Update README.md
1 parent f780c13 commit d556961

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# C# ALGORITHMS
22

3-
## Implementations of Data Structures and Algorithms in C#.
3+
### Implementations of Data Structures and Algorithms in C#.
44

55
I started writing this organized collection of classes as part of my preparation for technical interviews. This is for educational purposes only. However, the source code is stable.
66

@@ -23,7 +23,7 @@ The third project is called MainProgram and it has all the tests for all the imp
2323

2424
#### Priority Queues:
2525

26-
* **[Priority Queue](DataStructures/Heaps/PriorityQueue.cs).** Based on my *MaxHeap\<T\>*.
26+
* **[Min-Priority Queue](DataStructures/Heaps/MinPriorityQueue.cs).** Based on my *MinHeap\<T\>*.
2727
* **[Keyed Priority Queue](DataStructures/Heaps/KeyedPriorityQueue.cs).** Based on my *MaxHeap\<T\>*.
2828

2929
#### Heaps:
@@ -90,9 +90,10 @@ The third project is called MainProgram and it has all the tests for all the imp
9090
```
9191
9292
#### Graphs:
93-
* **[Depth-First Searcher](Algorithms/Graphs/DepthFirstSearcher.cs).** Implements the DFS algorithm in two ways: Iterative and Recursive. Provides multiple functions for traversing graphs: PrintAll(), VisitAll(Action\<T\> forEachFunc), FindFirstMatch(Predicate\<T\> match). The VisitAll() applies a function to every graph nodes. The FindFirstMatch() function takes searches the graph for a predicate match.
94-
* **[Breadth-First Searcher](Algorithms/Graphs/BreadthFirstSearcher.cs).** Implements the DFS algorithm in an iterative fashion. Provides multiple functions for traversing graphs: PrintAll(), VisitAll(Action\<T\> forEachFunc), FindFirstMatch(Predicate\<T\> match). The VisitAll() applies a function to every graph nodes. The FindFirstMatch() function takes searches the graph for a predicate match.
95-
* **[Breadth First Paths](Algorithms/Graphs/BreadthFirstPaths.cs).** A class that takes a Graph instance upon object-instantiation as a parameter, and then applies BFS to the graph. Meanwhile applying BFS to the graph, it extracts information about shortest-paths and connectivity. It provides the capability to find shortest-paths from single-sources and multiple-sources. Also, to check for reachable and unreachable nodes from the specified source-node(s).
93+
* **[Depth-First Searcher](Algorithms/Graphs/DepthFirstSearcher.cs).** Implements the **DFS algorithm** in two ways: Iterative and Recursive. Provides multiple functions for traversing graphs: PrintAll(), VisitAll(Action\<T\> forEachFunc), FindFirstMatch(Predicate\<T\> match). The VisitAll() applies a function to every graph nodes. The FindFirstMatch() function takes searches the graph for a predicate match.
94+
* **[Breadth-First Searcher](Algorithms/Graphs/BreadthFirstSearcher.cs).** Implements the **BFS algorithm** in an iterative fashion. Provides multiple functions for traversing graphs: PrintAll(), VisitAll(Action\<T\> forEachFunc), FindFirstMatch(Predicate\<T\> match). The VisitAll() applies a function to every graph nodes. The FindFirstMatch() function takes searches the graph for a predicate match.
95+
* **[Breadth First Shortest Paths](Algorithms/Graphs/BreadthFirstShortestPaths.cs).** A class that takes a Graph instance upon object-instantiation as a parameter, and then applies **BFS algorithm** to the graph. Meanwhile applying BFS to the graph, it extracts information about shortest-paths and connectivity. It provides the capability to find shortest-paths from single-sources and multiple-sources. Also, to check for reachable and unreachable nodes from the specified source-node(s).
96+
* **[Dijkstra Shortest Paths](Algorithms/Graphs/DijkstraShortestPaths.cs).** A class that behaves the same way as the breadth-first shortest path class, except that the Graph-object parameter has to be of a class that implements both IGraph\<T\> and IWeightedGrap\<T\>. It applies **Dijkstra's Algorithm** to the graph, and extracts the information about shortest-paths and connectivity.
9697
9798
#### Numeric:
9899
* **[Catalan Numbers](Algorithms/Numeric/CatalanNumbers.cs).** A class that calculates the catalan numbers. A dynamic-programming solution.

0 commit comments

Comments
 (0)