Know Thy Complexities! https://www.bigocheatsheet.com/
git clone git@github.com:ecaminero/js-algorithms.git
- node 10+
$ npm install
# unit tests
$ npm run test
Research and understanding of data structures and common algorithms. However, you should definitely avoid reinventing the wheel and use well-established and peer-reviewed libraries. Just read a little more
- [Binary search tree] - https://en.wikipedia.org/wiki/Binary_search_tree Complexity Θ(log(n))
- [HashMap] - https://en.wikipedia.org/wiki/Hash_table