Skip to content

Daily Coding Test

One Coding Exercise per day

  • Home
  • About
  • Contact
  • Twitter
  • Facebook
  • Google+
  • GitHub
  • WordPress.com

Aggregating Maps with Streams

Write a method

static <T> Stream<T> zip(Stream<T> first, 
            Stream<T> second);

that alternates elements from the streams first and second, stopping
when one of them runs out of elements.

Author anirudhPosted on November 23, 2016November 23, 2016Leave a comment on Aggregating Maps with Streams

Lambdas in Java 8

Todays Quiz :

Write a function which returns all the files with a particular extension in a given directory.

Implement the following method and print them.

List<File> printAllFiles(String filePath,
               String extension);

Continue reading “Lambdas in Java 8”

Author anirudhPosted on November 19, 2016November 23, 2016Leave a comment on Lambdas in Java 8

Text Widget

This is a text widget. The Text Widget allows you to add text or HTML to your sidebar. You can use a text widget to display text, links, images, HTML, or a combination of these. Edit them in the Widget section of the Customizer.
  • Home
  • About
  • Contact
  • Twitter
  • Facebook
  • Google+
  • GitHub
  • WordPress.com
Daily Coding Test Create a website or blog at WordPress.com
Privacy & Cookies: This site uses cookies. By continuing to use this website, you agree to their use.
To find out more, including how to control cookies, see here: Cookie Policy
  • Follow Following
    • Daily Coding Test
    • Join 215 other followers
    • Already have a WordPress.com account? Log in now.
    • Daily Coding Test
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar