Skip to content

Commit dfc7b39

Browse files
Update find-duplicates-in-an-array
1 parent d18becc commit dfc7b39

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

dsa-solutions/gfg-solutions/Easy problems/find-duplicates-in-an-array

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@ description: "This tutorial covers the solution to the Find Duplicates in an Arr
1414

1515
Given an array `arr` of size `n` which contains elements in the range from 0 to `n-1`, you need to find all the elements occurring more than once in the given array. Return the answer in ascending order. If no such element is found, return a list containing [-1].
1616

17-
Note: Try and perform all operations within the provided array. The extra (non-constant) space needs to be used only for the array to be returned.
18-
17+
:::note
18+
Try and perform all operations within the provided array. The extra (non-constant) space needs to be used only for the array to be returned.
19+
:::
1920
## Examples
2021

2122
**Example 1:**

0 commit comments

Comments
 (0)