like target is 150. Please do like if you have understood the explanation as well as the code!
@Bhalu-kl7sq14 күн бұрын
bhot badhiya solution tha bhaiya maza hi aagya bas aise soch paau to jeevan safal hojayega mera coding mein
@tarunkumar917714 күн бұрын
Very good explanation bhaiya ❤ But bhaiya ek fix time pr aap video dala kro , chahe list krke chor diya kro, jyada audience recach ati h bhaiya
@shashwat_tiwari_st14 күн бұрын
Ha try whi krte hai
@shashwat_tiwari_st14 күн бұрын
time complexity: N + 26, N is length of string and 26 is total lower case letters.
@OnstreamGaming13 күн бұрын
I heard ecplanation and coded myself , thank you
@the_AbhishekRanjan14 күн бұрын
Awesome sir ji
@VaibhavSingh_code14 күн бұрын
bhaiya Comptetive programming playlist please
@yugbhatiavlogs232514 күн бұрын
Nice explanation sir ❤
@opkrchauhan_114 күн бұрын
class Solution { public boolean canConstruct(String s, int k) { if(k>s.length()){ return false; } Mapmap = new HashMap(); for(char c : s.toCharArray()){ map.put(c,map.getOrDefault(c,0)+1); } int count=0; for(Map.Entrymp : map.entrySet()){ if(mp.getValue()%2 !=0){ count++; } } if(count>k){ return false; } return true; } }
@TarunRaikwar538114 күн бұрын
Great
@nishith538014 күн бұрын
Nice bayyya
@patel-up7214 күн бұрын
bhaiye Videos Toda Pahle laya karo 9:30
@aniruddhlaharia127514 күн бұрын
bhai odd wala case nahi samjha agar "cccd" hai input toh fir invalid kyu hua?
@shashwat_tiwari_st14 күн бұрын
@@aniruddhlaharia1275 invalid? jitne odd utne palindrome ye bola. c 3 times hai odd hai d 1 time hai odd hai So 2 odd variables hai toh minimum 2 palindrome bnane hi pdenge.. k>=2 will be valid. k