javascript-algorithms icon indicating copy to clipboard operation
javascript-algorithms copied to clipboard

📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

Results 306 javascript-algorithms issues
Sort by recently updated
recently updated
newest added

In the Dijkstra algorithm, when a shorter path to a neighbor is found, the neighbor's priority in the priority queue should be updated regardless of whether it is already present...

I want to express my gratitude for creating and maintaining this comprehensive collection of JavaScript algorithms and data structures. The clear explanations, well-organized structure, and practical examples make it an...

This pull request improves the README by adding a beginner-friendly guide for new contributors, outlining the steps to fork, clone, create a branch, make changes, and submit a pull request....

This pull request improves the existing Bubble Sort algorithm by adding an early-stop optimization. If no elements are swapped during a pass, the function exits early, reducing unnecessary iterations. Includes...

This pull request adds a beginner-friendly implementation of a Binary Search Tree (BST) in JavaScript. Features included: - insert(value): Adds a new value to the tree - search(value): Checks if...

# Splay Tree Implementation ## Description This PR introduces a comprehensive implementation of a Splay Tree, a self-adjusting binary search tree with excellent performance characteristics for many use cases. The...