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.
xxxxxxxxxx40
var assert = require('assert');var lengthOfLongestSubstring = function (s) {  // fill this in  return maximumLen;};try {  assert.equal(lengthOfLongestSubstring('algodaily'), 7);  console.log(    'PASSED: ' +      "`lengthOfLongestSubstring('algodaily')` should be equal to `7`"  );} catch (err) {  console.log(err);}try {  assert.equal(lengthOfLongestSubstring('thisisatest'), 5);  console.log(    'PASSED: ' +      "`lengthOfLongestSubstring('thisisatest')` should be equal to `5`"  );} catch (err) {  console.log(err);OUTPUT
Results will appear here.