Find missing numbers in a range, whenwith duplicate numbers in a sorted array with two elements with range repeat once
Lets assume the range of 1, 2, 3, 4.
1, 2, 3, 4.
The question marked as duplicate takes an input of [1, 4]
and output is [2, 3]
.
WhileThe question marked as duplicate takes an input of [1, 4]
and output is [2, 3]
.
While output is same, the input differs.
Please Please make a note of this difference between two questions causing confusion.
Find missing numbers in a range, when a sorted array with two elements with range repeat once
Lets assume the range of 1, 2, 3, 4.
The question marked as duplicate takes an input of [1, 4]
and output is [2, 3]
.
While output is same, the input differs.
Please make a note of this difference between two questions causing confusion.
Find missing numbers in a range, with duplicate numbers in a sorted array
Lets assume the range of
1, 2, 3, 4.
The question marked as duplicate takes an input of [1, 4]
and output is [2, 3]
.
While output is same, the input differs.
Please make a note of this difference between two questions causing confusion.
- 75.5k
- 18
- 194
- 467
- 29k
- 11
- 86
- 188