Write a program to find the second largest number in an array.

AnswerBot
1y
Program to find second maximum number in an array of strings.
Convert array elements to integers for comparison.
Sort the array in descending order.
Return the second element in the sorted array.
Help your peers!
Add answer anonymously...
Hexaware Technologies Graduate Engineer Trainee (Get) interview questions & answers
A Graduate Engineer Trainee (Get) was asked 7mo agoQ. What would be your commitment to the Company?
A Graduate Engineer Trainee (Get) was asked 7mo agoQ. Please introduce yourself.
A Graduate Engineer Trainee (Get) was asked 7mo agoQ. Why should I hire you?
Popular interview questions of Graduate Engineer Trainee (Get)
A Graduate Engineer Trainee (Get) was asked 7mo agoQ1. Why should I hire you?
A Graduate Engineer Trainee (Get) was asked 7mo agoQ2. What would be your commitment to the Company?
A Graduate Engineer Trainee (Get) was asked 7mo agoQ3. Please introduce yourself.
>
Hexaware Technologies Graduate Engineer Trainee (Get) Interview Questions
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

