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.
xxxxxxxxxx51
var assert = require('assert');var twoColorGraph = function (N, d) { //your code here};try { N = 4; dislikes = [ [0, 1, 0, 1], [1, 0, 1, 0], [0, 1, 0, 1], [1, 0, 1, 0], ]; assert.equal(twoColorGraph(N, dislikes), true); console.log('PASSED: ' + 'First Test');} catch (err) { console.log(err);}try { N = 4; dislikes = [ [0, 1, 1, 1], [1, 0, 0, 0], [0, 1, 0, 1],OUTPUT
Results will appear here.