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

 

orion.a.smith@gmail.com apcsa-arrays > apcsaArraysThePeak
prev  |  next  |  chance

Given a String of integers separated by spaces, find and return the highest (maximum) value.


apcsaArraysThePeak("10 20 30 15") → 30
apcsaArraysThePeak("100 50 75") → 100
apcsaArraysThePeak("5 5 5") → 5

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

public int apcsaArraysThePeak(String data) { }

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

Difficulty: 220

Copyright Nick Parlante 2017 - privacy