Back to Browse

Second Largest in array #java

426 views
Mar 19, 2023
17:52

LIFE CODING WITH JAVA You have been given a random integer array/list(ARR) of size N. You are required to find and return the second largest element present in the array/list. Sample Input 1: 1 7 2 13 4 1 3 6 28 Sample Output 1: 13 Sample Input 2: 1 5 9 3 6 2 9 Sample Output 2: 6 Sample Input 3: 2 2 6 6 4 90 8 90 5 Sample Output 3: -2147483648 8 I try to solve very easy concept So please watch this video . All java code with easy trick. By "LIFE CODING WITH JAVA". all program free no any cost So please like ,subscribe, share and comment. If you any doubt related to any video then comment me. As soon as I will help you . my contact number: 6206472735

Download

0 formats

No download links available.

Second Largest in array #java | NatokHD