Please open the "take home test" folder path in cmd.
run "node Q1.js" to check the response of Question1.
Run "node Q3.js", "node Q4.js" and "node Q5.js" to get and check the respective results.
One can modify the input data from respective files to check the responses for different inputs.