Ada Developers Academy / Lovelace Learning Labs
Advanced Data Structures 1 - Trees
Week 2
Download
$ git clone <paste-url>
$ cd <created-directory>
Install
$ npm install
Run tests in watch mode
$ npm test
- Read through the existing code in
src/data_structures/binary_search_tree.js
and ensure you understand how it works - Implement
BinarySearchTree.insert()
so that it passes the tests - Fill out test stubs for
BinarySearchTree.delete()
- Implement
BinarySearchTree.delete()
to pass the tests
- Implement a visualization of a user list that relies on a binary search tree