To test these out a person can do one of the following:
- have index.html and then run the js code in browser
- install node and then run the js file in terminal
- find online websites that do have js support and then run the code there for example: 1. https://repl.it/languages/babel
Rules of Big-O Notation: The goal of algorithum analysis is to understand the algorithm's efficiency by calculating f(n). However, it can be challenging to calculate f(n). Big-O notation provides some fundamental rules that help developres compute for f(n).
- Coefficient rules
- Sum rules
- product rule
- polynomial rule