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.
xxxxxxxxxx
47
var assert = require('assert');
function maxFromOps(m, n, operations) {
// fill this out
return operations;
}
console.log(
maxFromOps(4, 4, [
[1, 1],
[2, 2],
])
);
try {
assert.equal(
maxFromOps(4, 4, [
[1, 1],
[2, 2],
]),
1
);
console.log(
'PASSED: ' + 'Expect `maxFromOps(4, 4, [[1, 1], [2, 2]])` to return `1`'
);
} catch (err) {
OUTPUT
Results will appear here.