Your Submissions
You haven't submitted any code for this challenge yet. Solve the problem by passing all the test cases, and your submissions will appear here.
xxxxxxxxxx25
var assert = require('assert');function maxOfMinPairs(nums) { // fill in return nums;}console.log(maxOfMinPairs([1, 3, 2, 6, 5, 4]));try { assert.equal(maxOfMinPairs([3, 4, 2, 5]), 6); console.log('PASSED: ' + 'maxOfMinPairs([3, 4, 2, 5]) should return 6');} catch (err) { console.log(err);}try { assert.equal(maxOfMinPairs([1, 3, 2, 6, 5, 4]), 9); console.log('PASSED: ' + 'maxOfMinPairs([1, 3, 2, 6, 5, 4]) should return 9');} catch (err) { console.log(err);}OUTPUT
Results will appear here.