View Code? Open in Web Editor
NEW
Master Stream API by solving different problems from this repository ๐ฏ #Opensource #Java8 #JavaOpenSource
stream-api-exercises's Introduction
This repository covers most of the interview questions solved on stream api. You can refer below questions and try it by yourself, If help needed do checkout the solutions ๐
Refer Interview Question on Stream API:
Questions Solved in this Repository โก๏ธ
Exercise ๐ข
Question ๐ค
Exercise - 1
Calculate Average of Integers using Streams
Exercise - 2
Convert a list of strings to uppercase or lowercase using streams
Exercise - 3
Calculate the sum of all even, odd numbers in a list using streams.
Exercise - 4
Remove all duplicate elements from a list using streams.
Exercise - 5
Count the number of strings in a list that start with a specific letter using streams.
Exercise - 6
Sort a list of strings in alphabetical order, ascending and descending using streams.
Exercise - 7
Find the maximum and minimum values in a list of integers using streams.
Exercise - 8
Find the second smallest and largest elements in a list of integers using streams.
Exercise - 9
Find the first element of a Stream in Java (Geeks for Geeks)
Exercise -10
Given a list of strings, count the number of strings that have a length greater than 5.
stream-api-exercises's People
Contributors