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 😊
- https://www.w3resource.com/java-exercises/stream/index.php
- https://www.codingninjas.com/studio/library/stream-api-interview-questions
| 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. | 
| Exercise -11 | Find list of students whose first name starts with alphabet A. | 
| Exercise -12 | Find list of student's first name whose first name ends with alphabet u | 
| Exercise -13 | Find number of students for each department. | 
| Exercise -14 | Find the max age & highest rank of student. | 
| Exercise -15 | Find the average age of male and female students. | 
| Exercise -16 | Find the department who is having maximum number of students. | 
| Exercise -17 | Find the Students who stays in fbd and sort them by their names. | 
| Exercise -18 | Find the highest rank in each department |