Algorithms icon indicating copy to clipboard operation
Algorithms copied to clipboard

A collection of algorithms and data structures

Results 155 Algorithms issues
Sort by recently updated
recently updated
newest added
trafficstars

This PR changes the types of exceptions being thrown by the methods. More specifically, this PR: - Replaces uses of `java.lang.Exception` (way too broad) with more appropriate subclasses of it...

This PR: - Removes duplicate data structure code - Removes `com.williamfiset.algorithms.graphtheory.IntStack` (in favor of `com.williamfiset.algorithms.datastructures.stack.IntStack`) - Removes various copies of `MinIndexedDHeap` classes (in favor of `com.williamfiset.algorithms.datastructures.priorityqueue.MinIndexedDHeap`) - Refactors various edge...

set the current node as the root node only if the tree is empty

…name method/variable refactoring** 2. Renamed the EPS constant to EPSILON to improve readability.-->**Introduce explaining variable refactoring** 3. Added Javadoc comments for the binarySearch method to improve documentation. 4. Changed the...

add aho corasick algorithm for string matching

adding new parallel sorting quicksort

Type: New feature - adding new algorithm (Armstrong Number) Issue solved: #335

adding new algorithm to check primarity test. randomized algorithm