1class Solution {2public:3 int lengthOfLongestSubstring(std::string s) {4 // Your code here5 return 0;6 }7};
Solve the problem first before reviewing the solution!