Print the second largest element of an array
Filed under Hexaware
The question
Write a code to print the second largest element of an array both with sorting and without sorting methods.
No write-up yet. Related questions below have one.
Related Hexaware questions
Collected from public candidate posts and coding forums. Updated Nov 2026.