Category: Biggest number
-
How to find Nth largest number in an array list using streams
This is the fourth solution to find the Nth largest number from an array list of given integers or doubles or strings. This program uses the sorted(), and collectors() methods of stream.
-
How to find nth terms in the fibonacci series using Multithreads and BigInteger datatype
This is the third solution to find the ‘nth terms’ in the fibonacci series using BigInteger data type. This program uses the Multithreads concept to find the more than one ‘nth terms’ in the fibonacci series in parallel to save the time.
-
How to find factorial of a BigIntegers using Multithreads
This is the fourth solution to find the factorial from the ArrayList of big integers using Multithreads. This program uses the Multithreads concept to find the factorial of given big integers in parallel to save the time.
-
How to find Nth largest number in an array
This is the third solution to find the Nth largest number from an array of given integers or doubles or strings. This program defines one generic functional interface, with multiple Lambda expressions utilizes the same based on the data type. The internal logic utilizes the sort method of the Arrays class.
-
How to find Nth largest number in an array
This is the second solution to find the Nth largest number from an array of given numbers. This program uses the Lambda expression, and the internal logic utilizes the sort method of the Arrays class.
-
How to find Nth largest number in an array
This is the first solution to find the Nth largest number from an array of given numbers. This program uses the sort method of the Arrays class.
-
How to find first and second biggest numbers in an ArrayList of integers
This is the fourth solution to find the first and second biggest numbers from the given ArrayList of integers, using Collections class.
-
How to find biggest number in an array of integers using streams
This is the third solution to find the biggest number from the given array of integers, using stream method of Arrays class. This stream uses filter(0, max(), and getAsInt() methods.
-
How to find first and second biggest numbers in an array of integers using sort
This is the second solution to find the first and second biggest numbers from the given array of integers, using built-in sort method of Arrays class.
