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.jsandalgorithm.test.jsfor 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.mdfile inexplanationsand link it inexplanations/index.js. - Create a new
algorithmInfo.mdfile inextra-infoand link it inextra-info/index.js. - Create new instructions for the algorithm in
instructions/index.js. - Create a new
algorithmParam.jsfile inparametersand link it inparameters/index.js. - Copy pseudocode provided by academics into
pseudocodeand link it inpseudocode/index.js. Make note of the use of bookmarks\Bwhich 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.jsfile in the root of the/src/algorithmsdirectory.