Love you sir😍. Learning from you for 1 years and a half, my leetcode rating go from top 77% to 18% (from be able to solve 1 question to 3 questions) :))
@k-CE-OmkarPathak6 ай бұрын
Well Explained
@souravshaw89046 ай бұрын
Nice explanation 💯
@imPriyansh776 ай бұрын
Thanks for very intuitive solution bhaiya!! Studied about 2D prefix sum application for the very first time
@AryanAryan-ks5ib6 ай бұрын
sir in the third row the prefix sum is 2 or is it 3 am i making a mistake on calculating that;here are the timestamps that i am talking about 13:38
@gigachad24196 ай бұрын
weekly 4th? What is Rolling Hash and how is it paired with dp?
@codingmohan6 ай бұрын
Basically it's just prefix sum with hashing. I have explained that multiple times in different weekly contest problems. Search for hashing and you'll get it. I am facing difficulty in getting my hashing solution accepted because TC is too strict. Do you see any accepted rolling hash solution? PS: When I see solution of others, most of them will not survive various scenarios. I've contributed a test case to LC, if they merge it then they might relax the time constraint a bit as well.
@gigachad24196 ай бұрын
@@codingmohan no sir I haven't found any rolling hash solutions. But i still don't understand why Trie+DP won't work. What edge case does it fail in. And when we check for the hints of this question, LeetCode still says try Tries+DP. Does this indicate Trie+DP will be considered as valid for the contest?
@codingmohan6 ай бұрын
Here is the solution - kzbin.info/www/bejne/ZnbVoXyugJ6Ei6s
@gigachad24196 ай бұрын
@@codingmohan tysm sir
@krishanusaha52126 ай бұрын
Bhaiya kalka 4th question disscus karo please
@codingmohan6 ай бұрын
Here you go - kzbin.info/www/bejne/eoWnhp9_m7WtiKc
@krishanusaha52126 ай бұрын
@@codingmohan thanks bhaiya
@imPriyansh776 ай бұрын
He has just uploaded
@sudhadevi66926 ай бұрын
Bhaiya kl ka 4th question plz❤
@codingmohan6 ай бұрын
Here you go - kzbin.info/www/bejne/eoWnhp9_m7WtiKc