1class Solution {2 public int lengthOfLongestSubstring(String s) {3 // Your code here4 return 0;5 }6}
Solve the problem first before reviewing the solution!