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

A collection of javascript algorithms, patterns, and techniques

Results 29 javascript-patterns issues
Sort by recently updated
recently updated
newest added

Heap methods: - isEmpty - peek - push - getMax Heap public properties: - length Testing includes tests for each method and property. #118

add Heap data structure and associated tests

I made this algorithm I don't know if it is the best solution but I can make a PR and add it: https://github.com/phara0hcom/learAlgorithms/blob/master/collinearLineAlgo.js please let me know. I'll write some...

Add Radix Sort algorithm and relevant tests for it.

Added Doubly Linked List DS example. Created the class DoublyLinkedList with function append, appendAt, remove, removeAt, reverse, swap, length, display, traverse, traverseReverse, search and a helper function to prettyPrint!

On branch addDoubleLinkedList Changes to be committed: new file: src/dataStructures/doubleLinkedList.js new file: test/dataStructures/doubleLinkedList.test.js