Please follow the below checklist to create a new algorithm, note that you should replace algorithm
with the name of your algorithm in camelCase and that all referenced directories are located in /src/algorithms
.
- Create a new controller
algorithm.js
andalgorithm.test.js
for the algorithm incontrollers
. See other files in the directory for examples. Then make sure you link the controller incontrollers/index.js
. - Create a new
algorithmExp.md
file inexplanations
and link it inexplanations/index.js
. - Create a new
algorithmInfo.md
file inextra-info
and link it inextra-info/index.js
. - Create new instructions for the algorithm in
instructions/index.js
. - Create a new
algorithmParam.js
file inparameters
and link it inparameters/index.js
. - Copy pseudocode provided by academics into
pseudocode
and link it inpseudocode/index.js
. Make note of the use of bookmarks\B
which is similar to a frame in a video. It is used to highlight the current line of pseudocode. - Add all the newly added files to the
index.js
file in the root of the/src/algorithms
directory.