Code Monkey home page Code Monkey logo

stream-api-exercises's Introduction

Getting Started ๐Ÿš€

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.