16 - Java program to find Second Largest/Smallest element in an array

preview_player
Показать описание

Here we will learn a Java program to Second/Third Largest/Smallest element in an array.

Additional Info

and press the bell icon to get updates on latest tutorial.
Рекомендации по теме
Комментарии
Автор

good bro... very simple ... thanks bro

RamakrishnaRao-rgfr
Автор

Solution will fail if we will have 2 similar numbers

kunalsingh-rqcv
Автор

sir how to find second smalest and largest in one array

prakash
Автор

Not correct if ot has duplicate largest numbers.

NareshReddyP
Автор

This solution will not give a solution to all the cases

Biggboss_tam