about | help | code help+videos | done | prefs |
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. maxTriple([1, 2, 3]) → 3 maxTriple([1, 5, 3]) → 5 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: 169.0
Copyright Nick Parlante 2017 - privacy