HashMaphm=new HashMap(); int l=0; int ans=0; for(int r=0;r
@vamsiKrishna-sb8jyАй бұрын
Anna when is this series going to complete in java.
@-ANGE-nf6sw1Ай бұрын
Chala late avuthadhi ga bro Ela ayithe DSA . Okka video 20 minutes . Enka starting lone unnam. December ki expect chesam kani edhi next year varuku vellala vundhi 😢😢😢😢😢. Sorry bro ninnu ibbandhi peduthunnanaduku but we expected lot from you . Chala youtubers starting lone konchem cheppi vellipotharu best example kunal DSA. Nuvvu matram ala cheyyav anukuntunnam . Literally ninnu chala nammam
@theoverthinker8320Ай бұрын
Bro...please give similar problems as homework. coz, okavela mi videos late ayina, ee gap lo ivi try cheskuntam.please do considerr🤗
@chandanavadla7773Ай бұрын
complete cheyyandi bro tondaraga daily 2 videos aina upload cheyyandi..pls
@lingarithvik4528Ай бұрын
I got the answer for the displayed testcases and some of the backend testcases also but not the full one...... class Solution { public int lengthOfLongestSubstring(String s) { Set hs=new HashSet(); int n=s.length(); int val=0; int ans=0; for(int i=0;i
@theoverthinker8320Ай бұрын
class Solution { public int lengthOfLongestSubstring(String s) { HashSet hash = new HashSet(); int l=0; int res=0; for(int r=0;r
@bvnvarshitha1535Ай бұрын
Bro okati cheppava.! Ee speed lo velthe manaki DSA avvataniki ntha tym pattochu ? Dhani batti migathavi plan cheskuntanu like web dev, and projects ala !! 'coz ippudu fast ga aipoddi ani anukoni I left them all to continue after this DSA . So idhi okati clarity ivvu approx tym . And inkoti kuda ee course ayyepatiki inka DSA lo thop aipotha kadha ? 🥺 Chala hopes unnay bro Mee meedha !
@Mahesh-pu5gmАй бұрын
Broo linkedList pinna oka video cheyadhi plzz mids unnaayi 14th ki exam aa video chusina artham aytha leee so meru kocham help cheyadhi
@-ANGE-nf6sw1Ай бұрын
3 hrs video annav ga bro 😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢😢
@dinesh31754 күн бұрын
Guys for loop use chesi chesara evaraina? chesthe pettandi
@suryasai7135Ай бұрын
Bro so many days , still on arrays ,2 pointers technique
@cricketlivestream2079Ай бұрын
bro pls upload 2 videos daily
@LohithaYerragudiАй бұрын
import java.util.*; class HelloWorld { public static void main(String[] args) { String s="abcabcbb"; int maxLen=0; for(int i=0;i
@TarunKumarTadalaАй бұрын
class Solution { public int lengthOfLongestSubstring(String s) { HashSet hs = new HashSet(); int n = s.length(); int left = 0; int max = 0; for(int r=0; r
@WORK-HARD-jm4cgАй бұрын
after struggling for 1 hour . because of silly mistake class Solution(object): def lengthOfLongestSubstring(self, s): lis=[] maxi=0 l=0 for r in range(len(s)): if s[r] in lis: l=l+lis.index(s[r]) +1 del lis[0:lis.index(s[r])+1] lis.append(s[r]) maxi=max(maxi,r-l+1) return maxi
@engineeringanimuthyamАй бұрын
Ewwwww
@LohithaYerragudiАй бұрын
class Solution { public int lengthOfLongestSubstring(String s) { HashMap hm=new HashMap(); int longSubstr=0; int l=0; for(int r=0;r
@sujan.g0211Ай бұрын
Bro enni. Months course finish chestav cheppava
@jaswanthandhavarapu4325Ай бұрын
class Solution { public int lengthOfLongestSubstring(String s) { HashSet set = new HashSet(); int l = 0; int maxlen = 0; for(int r = 0; r
@kaushikma197Ай бұрын
Question chudagane HashMap ye gurtochindi😅 class Solution { public int lengthOfLongestSubstring(String s) { int n=s.length(); int 1=0; int ans=0; int temp=0; HashMap hash=new HashMap(); for(int r=0;r
@nikhilgaming31428 күн бұрын
import java.util.*; class Solution { public int lengthOfLongestSubstring(String s) { HashSet nik=new HashSet (); int l=0; int n=s.length(); int ans=0; for(int r=0;r
@WORK-HARD-jm4cgАй бұрын
Brute force macha class Solution(object): def lengthOfLongestSubstring(self, s): lis = [] maxi = 0 for i in range(len(s)): if s[i] not in lis: lis.append(s[i]) else: del lis[0:lis.index(s[i]) + 1] lis.append(s[i]) maxi = max(maxi, len(lis)) return maxi Output Limit Exceeded 986 / 987 testcases passed Last Executed Input Use Testcase s = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!\"#$%&'()*+,-./:;?@[\\]^_`{|}~ abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!\"#$%&'()*+,-./:;?@[\\]^_`{|}~ abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!\"#$%&'()*+,-./:;?@[\\]^_`{|}~ abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!\"#$%&'()*+,-./:;?@[\\]^_`{|}~ abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!\"#$%&'()*+,-./:;?@[\\]^_`{|}~ abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!\"#$%&'()*+,-./:;?@[\\]^_`{|}~ a View more