Skip to content

Instantly share code, notes, and snippets.

View nwbkhan's full-sized avatar
:electron:
null

Nwb nwbkhan

:electron:
null
View GitHub Profile
@nwbkhan
nwbkhan / 2nd_largest_no.java
Created January 17, 2020 16:09
find 2nd largest number fron numbers[...]
import java.util.*;
public class MyClass {
public static void main(String args[]) {
Integer i[] = new Integer[]{321, 312, 34, 43, 5, 667, 657, 4, 234, 5, 564, 6};
Integer great_no;
Integer great_no2;
Integer len = i.length;