|
1 | | -# stream-api-exercises-part1 |
2 | | -Stream API Exercises : Part I |
| 1 | +# Stream API Exercises : Part I |
| 2 | + |
| 3 | +Q.1) Find the most populated city of each continent |
| 4 | +Q.2) Find the number of movies of each director |
| 5 | +Q.3) Find the number of genres of each director's movies |
| 6 | +Q.4) Find the highest populated capital city |
| 7 | +Q.5) Find the highest populated capital city of each continent |
| 8 | +Q.6) Sort the countries by number of their cities in descending order |
| 9 | +Q.7) Find the list of movies having the genres "Drama" and "Comedy" only |
| 10 | +Q.8) Group the movies by the year and list them |
| 11 | +Q.9) Sort the countries by their population densities in descending order ignoring zero population |
| 12 | +countries |
| 13 | +Q.10) Find the richest country of each continent with respect to their GNP (Gross National Product) |
| 14 | +values. |
| 15 | +Q.11) Find the minimum, the maximum and the average population of world countries. |
| 16 | +Q.12) Find the minimum, the maximum and the average population of each continent. |
| 17 | +Q.13) Find the countries with the minimum and the maximum population. |
| 18 | +Q.14) Find the countries of each continent with the minimum and the maximum population. |
| 19 | +Q.15) Group the countries by continent, and then sort the countries in continent by number of cities |
| 20 | +in each continent. |
| 21 | +Q.16) Find the cities with the minimum and the maximum population in countries. |
| 22 | +Q.17) Find the minimum, the maximum, the average, and the standard deviation of GNP values. |
| 23 | +Q.18) Find the year where the maximum number of movie is available |
0 commit comments