Frontend Developer Interview Questions

8,954 frontend developer interview questions shared by candidates

Given an array of ranges [x,y] Return array of groups, each group will hold an array of the overlapping ranges. By range [x,y] we mean all the numbers between x and y. For example [2,5] - all the numbers between 2 and 5. Example: [[6,9], [2,5], [3,4], [1,3]] => [ [[1,3], [2,5], [3,4]], [[6,9]] ] [[2,6], [8,10], [5,7], [1,3], [10,15], [20,30], [25,27], [30,100]] => [ [[2,6], [5,7], [1,3]], [[8,10], [10,15] ],[[20,30], [25,27], [30,100]]]
avatar

Frontend Developer

Interviewed at Axonius

3.8
May 27, 2025

Given an array of ranges [x,y] Return array of groups, each group will hold an array of the overlapping ranges. By range [x,y] we mean all the numbers between x and y. For example [2,5] - all the numbers between 2 and 5. Example: [[6,9], [2,5], [3,4], [1,3]] => [ [[1,3], [2,5], [3,4]], [[6,9]] ] [[2,6], [8,10], [5,7], [1,3], [10,15], [20,30], [25,27], [30,100]] => [ [[2,6], [5,7], [1,3]], [[8,10], [10,15] ],[[20,30], [25,27], [30,100]]]

Viewing 931 - 940 interview questions

Glassdoor has 8,954 interview questions and reports from Frontend developer interviews. Prepare for your interview. Get hired. Love your job.