Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

12 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AlgorithmDesign

Advanced Algorithm Design Projects

Depth First Search

The Graph class represents an undirected graph and includes methods for adding nodes, adding edges, printing the graph, and performing a Depth-First Search to find the smallest cycle in the graph.

Dijkstra's Algorithm

The Graph class represents a weighted undirected graph. The graph can be used to find the shortest paths between nodes using two different methods: a standard implementation and an implementation utilizing a Priority Queue.

Longest Common Subsequence

The Analyzer class implements a solution for finding the Longest Common Subsequence (LCS) of two given strings using dynamic programming.

Maximal Subsequence

The Main class implements two algorithms for finding the maximum subarray sum problem, Divide and Conquer and Brute Force. The Divide and Conquer algorithm recursively divide the array into subproblems until base cases are reached. The base case returns the maximum subarray sum, start index, and end index for a single element.

The Brute Force algorithm uses nested loops to consider all possible subarrays and find the one with the maximum sum. It keeps track of the maximum sum, start index, and end index during the iterations.

About

Advanced Algorithm Design Projects

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages