└── README.md /README.md: -------------------------------------------------------------------------------- 1 | # Longest-Substring-without-Repeating-character1 2 | 3 | 4 | 5 | class Solution { 6 | public int lengthOfLongestSubstring(String s) { 7 | int n=s.length(); 8 | int res=0; 9 | for(int i=0;i