Morae Global Interview Question

DSA in javascript and some question in node