Search posts, tags, users, and pages
Amit singh
class Solution { public int lengthOfLongestSubstring(String s) { HashSet<Character> st= new HashSet<>(); int length=0; int l=0; for(int r=0;r<s.length();r++) { while(st.contains(s.charAt(r)))...
No responses yet.