srinivasboga / Boga_R-D

0 stars 4 forks source link

Implement get Third Duplicate number from an Array #33

Open srinivasboga opened 4 weeks ago

srinivasboga commented 4 weeks ago

Description Objective: We need to implement a function called getThirdDuplicate that takes an array of integers as input and returns the third duplicate value in the array.

Acceptance Criteria:

Example Input: int[] arr = {3, 4, 5, 6, 1, 3, 4, 9, 0, 3, 4, 3, 3, 9};

Example Output: 9