id/email
password
forgot password | create account
about | help | code help+videos | done | prefs
CodingBat code practice

 

tmhscs@gmail.com arrays > array_findLargest
prev  |  next  |  chance

Given an integer array "nums", return the largest value in the array.


array_findLargest([1, 2, 3]) → 3
array_findLargest([4, 2, 1, 6]) → 6
array_findLargest([7, 2, 4, 1, 4]) → 7

...Save, Compile, Run (ctrl-enter)

public int array_findLargest(int[] nums) { }

Editor font size %:
Shorter output


Forget It! -- delete my code for this problem

Progress graphs:
 Your progress graph for this problem
 Random user progress graph for this problem
 Random Epic Progress Graph

Java Help

Misc Code Practice

Post-solution available

Copyright Nick Parlante 2017 - privacy