Computer Science, asked by shanilahameed8975, 1 year ago

Write an algorihm to find out the second largest element in array

Answers

Answered by suchitgiri276
0

Given an array of integers, our task is to write a program that efficiently finds the second largest element present in the array. Example: Input : arr[] = {12, 35, 1, 10, 34, 1} Output : The second largest element is 34.

Similar questions