-
Create your own realisation of Queue with 2 Stacks
-
Realize class LinkedList with possibilities to add, remove and find element and function to check is there a loop in Linked list (for checking list fir a loop please use Floyd algorithm)
-
(optional) Develop realisation of black-red tree, it should have next functions: add element to the tree, remove element from a tree, find element on a tree, get max and min depth in a tree
npm install npm@latest -g
-
Clone the repo
git clone https://github.com/Cmoros/laba.solvd-week5.git
-
Go to the project folder
cd laba.solvd-week5
-
Install NPM packages
npm install
To Test All:
npm t
-
Test Stack:
npm run test:stack
-
Test Queue (With 2 stacks):
npm run test:queue
-
Test LinkedList:
npm run test:linkedlist