about | help | code help+videos | done | prefs |
APCS Array 2, Problem 11. Given an array of ints of odd length, look at the first, last, and middle values in the array and return the largest. The array length will be a least 1. A211_maxTriple([1, 2, 3]) → 3 A211_maxTriple([1, 5, 3]) → 5 A211_maxTriple([5, 2, 3]) → 5 ...Save, Compile, Run (ctrl-enter) |
Progress graphs:
Your progress graph for this problem
Random user progress graph for this problem
Random Epic Progress Graph
Difficulty: 100
Copyright Nick Parlante 2017 - privacy