Solution to a set of regular interview questions validated using jest tests
Setup :-
npm install -g jest (Use sudo if in Linux environment)
Now run the following command to validate the code jest bst/tests.js --watch
Debugging can be done using debugger statements. Then use node inspect <filename.js>