Summary Ranges at Yandex
Easy53.9% acceptance
This problem has 87.5% frequency at Yandex.
Problem Description
You are given a **sorted unique** integer array `nums`. A **range** `[a,b]` is the set of all integers from `a` to `b` (inclusive). Return _the**smallest sorted** list of ranges that **cover all the numbers in the array exactly**_. That is, each element of `nums` is covered by exactly one of the r...
Read full problem and hintsTopics
Also asked at 9 companies
More Yandex Questions
Longest Subarray of 1's After Deleting One ElementMediumFind K Closest ElementsMediumMaximize Distance to Closest PersonMediumTwo SumEasyMerge IntervalsMedium
View all Yandex questions