/Alraedah

Primary LanguageJavaScriptMIT LicenseMIT

Getting Started

Clone this repository and install npm project dependencies

 yarn install

Running the tests

You can run all Mocha test using this command:

yarn test

Build

Build the code in a runnable ES5 format

yarn build

Code style

A .editorconfig configuration file and .eslint files are provided, you can also run linter using this command:

npm run lint

Question 1

for question with my solution we have aa time complexity of O(1) linear time and a space complexity of O(1)

Question 2

System design answer