How do we handle the case when duplicate elements are present and we need to return the first occurence of the target element ?
How do we handle the case when duplicate elements are present and we need to return the first occurence of the target element ?