OMP Interview Question

45min NodeJS challenge in HackerRank