srinivasboga / Boga_R-D

0 stars 4 forks source link

Using Streams API Create a function to find the second highest number in an array #4

Open srinivasboga opened 1 month ago

srinivasboga commented 1 month ago

Summary:

Create a function to find the second highest number in an array.

Related Pull Request:

I would like to implement a function that finds the second highest number in an array using Java's Streams API. This function should take an array of integers as input and return the second highest number.

Checklist:

Example Input/Output:

Additional Notes:

an-kum commented 1 month ago

I want to do this as it is my first issue on GitHub.