You are viewing a single comment's thread. Return to all comments →
function compareTriplets(a, b) { let resultados= a.reduce((cont,value,i)=> { if(value > b[i]) cont[0]++; else if(value < b[i]) cont[1]++; return cont; },[0,0]) return resultados }
Seems like cookies are disabled on this browser, please enable them to open this website
Compare the Triplets
You are viewing a single comment's thread. Return to all comments →