computer-science icon indicating copy to clipboard operation
computer-science copied to clipboard

Contains the basic fundamental data structures and algorithms a front end engineer should know, written all in JavaScript.

Results 7 computer-science issues
Sort by recently updated
recently updated
newest added

What about do isMember before remove method in case of the word is not in the dictionary?

var tree = new BinaryTree(); tree.insert(20); tree.insert(10); tree.insert(15); tree.insert(16); tree.insert(5); tree.insert(8); tree.insert(7); tree.insert(25); tree.remove(10); if you remove the node 10,node 7 will be removed unexpectedly

Hey! On line 44 and 45 of DoublyLinkedList.js, there are a couple of times where you reference 'cur' instead of 'curr' - this is causing a 'cur is not defined'...

This file has been edited by a Computer Science student in a Technical Writing course. The students are tasked in finding online real-world documentation to edit. Full marks are achieved...

Need to add test case framework. Currently considering to use Mocha + Chai.

task