• Tests
  • Range extraction (JavaScript/TypeScript)
Test

Range extraction (JavaScript/TypeScript)

The respondent needs to extract any possible integer ranges from an array to form a comma concatenated string.

Time limit / average

90 min. / 30 min.

Price

2 credits

Test description

In this challenge the respondent has to work with an array of unordered integers. The goal is to extract any possible ranges from the array to optimize the array this way. This test is considered to have a medium difficulty.