lots of exercises in java... from https://github.com/exercism/java
Katrina Owen 879b1ec51b Replace exercise templates with track-level default 9 年前
..
src list-ops: update to match Kotlin track 9 年前
HINTS.md list-ops: update to match Kotlin track 9 年前
README.md Replace exercise templates with track-level default 9 年前
build.gradle list-ops: add to track (#207) 9 年前

README.md

List Ops

Implement basic list operations.

In functional languages list operations like length, map, and reduce are very common. Implement a series of basic list operations, without using existing functions.

Hints

The foldLeft and foldRight methods are "fold" functions, which is a concept well-known in the functional programming world, but less so in the object-oriented one. See the Wikipedia page on folding for general background and signature/implementation hints.

To run the tests:

$ gradle test

For more detailed info about the Java track see the help page.

Submitting Incomplete Solutions

It's possible to submit an incomplete solution so you can see how others have completed the exercise.