Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions questions/68e6.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ The purpose of this question is to give you practice writing reductions over str

7. **Find min of maxes**: Write a static method with the following signature:

static int findMinOfMaxes(List<List<Integer>> listOfLists);

```
static int findMinOfMaxes(List<List<Integer>> listOfLists);
```
This method should re-use `findMin` and `findMax` to return the smallest maximum among each list in `listOfLists`.

8. **Demo code**: Write a `main` method to demonstrate that your implementations of these methods works on some example inputs. For example, you could use these list declarations and invocations of the above methods, work out what the expected results should be and check whether your solution does give these results:
Expand Down