Recursion vs loops - Default package
- Get max of the array with loops/ recursion
- Printing star with loops/ recursion
Java 8 streams - java8 package
- filter - create filtered stream - lambda function should return a boolean.
- map - apply function to every element and create a new stream - lambda function should return something.
- flatMap - create a stream combining multiple streams.
- forEach - apply function to every element - lambda function return will be ignored.
- match (anyMatch, allMatch, noneMatch)
- reduce
- collect - stream to collection.