Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Function<FL, Integer> min = fl -> {
- if (fl == null) return null;
- else {
- if (fl.tail() == null) return fl.head();
- else {
- if (fl.head() <= Part1.min.apply(fl.tail())) return fl.head();
- else return Part1.min.apply(fl.tail());
- }
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement