Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java Stream API Coding Interview Question #184

Closed
Spardha-hash opened this issue Oct 1, 2024 · 2 comments
Closed

Java Stream API Coding Interview Question #184

Spardha-hash opened this issue Oct 1, 2024 · 2 comments
Assignees
Labels
DSA good first issue Good for newcomers Hacktoberfest contribute for hacktoberfest 2024

Comments

@Spardha-hash
Copy link
Contributor

How to find duplicate elements in a given integers list in java using Stream functions?

Input 1 :
arr[] = [10,15,8,49,25,98,98,32,15]
Output : 98, 15

Input 2 :
arr[] = [1, 1, 85, 6, 2, 3, 65, 6, 45, 45, 5662, 2582, 2, 266, 666, 656]
Output : 1 6 2 45

Hi @Saloni6111,
This was one of the question that was asked to me in Interview. I am raising the issue for it to add this in your respository. Please assign this issue to me.

@Saloni6111 Saloni6111 added good first issue Good for newcomers Hacktoberfest contribute for hacktoberfest 2024 DSA labels Oct 2, 2024
@Saloni6111
Copy link
Owner

How to find duplicate elements in a given integers list in java using Stream functions?

Input 1 : arr[] = [10,15,8,49,25,98,98,32,15] Output : 98, 15

Input 2 : arr[] = [1, 1, 85, 6, 2, 3, 65, 6, 45, 45, 5662, 2582, 2, 266, 666, 656] Output : 1 6 2 45

Hi @Saloni6111, This was one of the question that was asked to me in Interview. I am raising the issue for it to add this in your respository. Please assign this issue to me.

@Spardha-hash Assigned to you!

@Spardha-hash
Copy link
Contributor Author

Thanks @Saloni6111 , I am working on this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DSA good first issue Good for newcomers Hacktoberfest contribute for hacktoberfest 2024
Projects
None yet
Development

No branches or pull requests

2 participants