Write an algorihm to find out the second largest element in array
Answers
Answered by
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