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.
xxxxxxxxxx39
var assert = require('assert');function shortestClearPath(grid) { return;}try { assert.equal(shortestClearPath([ [0, 1], [1, 0] ]), 2); console.log('PASSED: ' + "`shortestClearPath([[0,1],[1,0]])` should return `2`");} catch (err) { console.log(err);}try { assert.equal(shortestClearPath([ [0, 0, 0], [1, 1, 0], [1, 1, 0] ]), 4); console.log('PASSED: ' + "`shortestClearPath([[0,0,0],[1,1,0],[1,1,0]])` should return `4`");} catch (err) { console.log(err);}OUTPUT
Results will appear here.