Biggest in ArrayList

Biggest in List

Given an ArrayList numList, return the largest integer value.

biggestInList( [0, 1, 3, 8, 5, 4 ] ) => 8
biggestInList( [ ] ) => 0

All values in numList \(\ge 0\)

Login / Register

To try your hand at solving this problem you'll need an account on CompSci.Rocks. Please either login or register to continue.

Once you've logged in you'll be able to enter code directly into this page to solve the problem.

[ultimatemember form_id=401] Newsletter

Want to stay in touch and keep up to date with the latest posts @

Leave a Reply

Your email address will not be published. Required fields are marked *