Meta - Software Engineer Front End - Phone Screen

Meta - Software Engineer Front End - Phone Screen

Level: Mid level
Education: Bachelor’s degree
Years of Experience: 2
*Questions Asked:
Given a couple of intervals, for example: [0,5], [1,2], [3,7],
Find out how many works in one unit in each interval, or one interval if the adjust unit are same.
*