Hackerrank Solution: arrays and Set in JavaScript

In this post I’m going to show you one possible solution of one of the 10 Days of JavaScript challenges from Hackerrank. We’re going to use Set object to return a second largest number from an original array. Challenge Full description of the challenge: 10 Days of JavaScript. Day 3: arrays. I really recommend registering … Read more