Advertisement
Guest User

Untitled

a guest
Dec 11th, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. Function<FL, Integer> min = fl -> {
  2. if (fl == null) return null;
  3. else {
  4. if (fl.tail() == null) return fl.head();
  5. else {
  6. if (fl.head() <= Part1.min.apply(fl.tail())) return fl.head();
  7. else return Part1.min.apply(fl.tail());
  8. }
  9. }
  10. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement