-
Install node v9+
-
Install node dependencies
yarn install
- createDummyFile.js:
- receive array number (file size) as input, generate dummy file to test
- solutionInputString.js:
- receive string as input
- return true if input string is properly nested, otherwise return false
- solutionInputFile.js:
- receive fileName as input, use stream to read string from fileName, efficient for very big string
- return true if input string is properly nested, otherwise return false
yarn test