Skip to content

Latest commit

 

History

History
38 lines (21 loc) · 848 Bytes

File metadata and controls

38 lines (21 loc) · 848 Bytes

中文文档

Description

Given a sorted integer array nums, where the range of elements are in the inclusive range [lower, upper], return its missing ranges.

Example:

Input: nums = [0, 1, 3, 50, 75], lower = 0 and upper = 99,
Output: ["2", "4->49", "51->74", "76->99"]

Solutions

Python3

Java

...