sir i think u are explaining it wrong in pre and post we are multiplying each elements except self but u are multiplying that element also
@PRIYANSHUCHAKRABORTY-yv3mq6 күн бұрын
tqsm sir
@nigammishra26011 күн бұрын
bakwass
@hirendrakumarmande277415 күн бұрын
Amazing bro😅😅
@AbhishekSensei15 күн бұрын
@@hirendrakumarmande2774 Thankyou bro.
@ARYANSHARMA-oo5ow25 күн бұрын
good
@AbhishekSensei25 күн бұрын
@@ARYANSHARMA-oo5ow Thanks
@akshanshsharma741526 күн бұрын
Very nice explanation brother
@AbhishekSensei21 күн бұрын
Thank you so much 🙂
@AuthsKads29 күн бұрын
Nice solution bhai
@AbhishekSensei29 күн бұрын
@@AuthsKads Thank you!
@abusufiyanofficial6674Ай бұрын
why did you use background music during teaching this question too irritating
@AbhishekSenseiАй бұрын
@@abusufiyanofficial6674 Sorry, I have already stopped using background music in my newer videos.
@satyanarayanbarik1701Ай бұрын
Thanks for quick explanation
@AbhishekSenseiАй бұрын
@@satyanarayanbarik1701 Keep supporting ❤️
@saur0wАй бұрын
Syd, No extra space mai krna tha? Space Complexity constant chiye, aur Optimal kese hoga??
@TastyKitchen.0Ай бұрын
beast 100% class Solution { public: bool isPalindrome(string s) { string a; transform(s.begin(), s.end(), s.begin(), ::tolower); for (char c:s) { if (isalnum(c)) a.push_back(c); } int n=a.size(); bool ans; for (int i=0; i<a.size()/2; i++) { if (a[i]!=a[n-i-1]) { ans = false; break; } else ans =true; } return ans; } };
@AbhishekSenseiАй бұрын
Thank you! ❤❤
@TastyKitchen.0Ай бұрын
beat 100% bool isValid(string s) { stack<int> stk; for (int i=0; i<s.size(); i++) { char c=s[i]; if (c=='(' or c=='{' or c=='['){ stk.push(c); } else { if (!stk.empty()) { if (c == ')' and stk.top() == '(' or c == '}' and stk.top() == '{' or c == ']' and stk.top()=='[') { stk.pop(); } else { return false; } } else return false; } } return stk.empty(); }
@TastyKitchen.0Ай бұрын
thank you bhai
@AbhishekSenseiАй бұрын
Keep supporting ❤
@anordinaryguy207Ай бұрын
kitne ho gye leetcode ?
@bhatiaprakarsh122 ай бұрын
aaj ke baad video matt banana
@AbhishekSenseiАй бұрын
@@bhatiaprakarsh12 Maine aapko force to nahi kiya hai ki meri videos dekho karke..
@shubhamkeluskar68712 ай бұрын
code not working For All test cases you can try this code : class Solution { public: int removeDuplicates(vector<int>& nums) { int i = 0; for (const int num : nums) if (i < 1 || num > nums[i - 1]) nums[i++] = num; return i; } };
Very nice explaination , but the sound effect was like i am watching some facts video😂😂 , Don't use this sound effect
@AbhishekSensei2 ай бұрын
@@kartikverma1998 😅, Yes I stopped giving background music.
@Ganesh_Chaubey2 ай бұрын
Hii bhaiya qsns ki playlist alag alag kr dijiyega...... Simple to understand
@AbhishekSensei2 ай бұрын
@@Ganesh_Chaubey Ok
@itipurwar27302 ай бұрын
👍
@AbhishekSensei2 ай бұрын
@@itipurwar2730 Thankyou.
@itipurwar27302 ай бұрын
👍
@AbhishekSenseiАй бұрын
Thankyou ❤
@AmandeepsinghSingh-hc6ci2 ай бұрын
Arrey bhai vo equal ni krte value assign karte ha
@AbhishekSensei2 ай бұрын
@@AmandeepsinghSingh-hc6ci ok thanks
@AKASHKUMAR-ef8op2 ай бұрын
Happy with your Explanation Do every Question From Different topics . people can understand easily 😃
@AbhishekSensei2 ай бұрын
@@AKASHKUMAR-ef8op Thankyou, I will try my best
@shikhasharma38942 ай бұрын
amazing👏👏
@AbhishekSensei2 ай бұрын
@@shikhasharma3894 Thankyou
@pranayvenkat24962 ай бұрын
thanks bro for the solution,it worked but with a little change.instead of if statement (m==n) return 0,we have to use if (haystack==needle) return 0;.because it didnt pass this test case ->haystack="aaaa" ans needle="baaa" the answer should be -1 but acc to your code the answer is 0.
@AbhishekSensei2 ай бұрын
@@pranayvenkat2496 ohh thanks for the suggestion.
@rxpmbeats74532 ай бұрын
Great one Sir!
@AbhishekSenseiАй бұрын
Thankyou ❤❤
@alex_gr9923 ай бұрын
👍
@pratikmulik00493 ай бұрын
Thank you brother for this amzing solution ❤❤
@AbhishekSensei3 ай бұрын
@@pratikmulik0049 Keep supporting ❤️
@kashishsharma3093 ай бұрын
bakwas bhai faltu video maat dekho
@PriyaKumari-fz8ek3 ай бұрын
Sir, if we want to print emojis on terminal also, after Running the program then how can i do that also...??
@RudrakshAgarwal-j8h3 ай бұрын
this code is wrong it passes only 15 out of 20 test cases pls correct it do not misguide anyone
@AbhishekSensei3 ай бұрын
@@RudrakshAgarwal-j8h I think you had done some mistake, It is working perfectly fine in every scenario.
@xyzhacker009993 ай бұрын
bht accha smjhate ho bro great
@fross18763 ай бұрын
Nice explanation........Bhai please try to show company tag also....
@AbhishekSensei3 ай бұрын
@@fross1876 It's paid 🥲
@ayushtrivedi15133 ай бұрын
bhai padha acha rahe ho bs music hta do
@AbhishekSensei3 ай бұрын
@@ayushtrivedi1513 New videos me ab music add nahi kar raha hu.
@xyzhacker009993 ай бұрын
bro continue rakho
@AbhishekSensei3 ай бұрын
@@xyzhacker00999 Thankyou Bro
@fross18763 ай бұрын
Bro dsa qns lao medium to hard
@AbhishekSensei3 ай бұрын
@@fross1876 Ha bro wo bhi continue hai
@fross18763 ай бұрын
Good explanation ❤❤❤
@AbhishekSensei3 ай бұрын
@@fross1876 Thankyou
@vision60534 ай бұрын
superb
@akcGaming-e5h4 ай бұрын
Thank you so much 👍
@AbhishekSensei4 ай бұрын
@@akcGaming-e5h Welcome ❤️
@Shivam-fo8qk4 ай бұрын
upper wala kaise code karna ha
@twilightzer11472 ай бұрын
class Solution { public: void rotate(vector<int>& nums, int k) { vector<int> newArr(nums); int n=nums.size(); k=k%n; for(int i=0;i<nums.size();i++){ int newIdx=(i+k)%n; nums[newIdx]=newArr[i]; } } };
@fross18764 ай бұрын
Great explanation❤
@AbhishekSensei4 ай бұрын
@@fross1876 Thankyou
@ArchanaRawat-r3f4 ай бұрын
please don't add the background music
@AbhishekSensei4 ай бұрын
@@ArchanaRawat-r3f sorry, I will not upload background music anymore.
@abhasthakur364 ай бұрын
bhai optimal hai na ye
@AbhishekSenseiАй бұрын
Yes bro, its preety efficient.
@ryan71184 ай бұрын
Nice ❤
@AbhishekSensei4 ай бұрын
@@ryan7118 thankyou ✨
@SaurabhSingh-in7lr4 ай бұрын
Kaun se year mein ho bhai??
@AbhishekSensei4 ай бұрын
@@SaurabhSingh-in7lr Job kar raha hu bro.
@SaurabhSingh-in7lr4 ай бұрын
@@AbhishekSensei bhaiya first year mein hu css aur html kr liya hai tier 3 college iske aur konsi language kro love babbar ka couse liya hai ..aap tyoda guide kr do
@AbhishekSensei4 ай бұрын
@@SaurabhSingh-in7lr As you have already learnt HTML CSS you are already doing good. Placements ke liye 2 good projects, DSA not only theory but practice is important ( use leetcode/gfg practice). Aapke pass bahut time hai abhi to saare fundamentals ko clear karte hue karna. Project kuch unique hona chahiye, MERN stack projects sab banate hain, College ke 2nd ya 3rd year se hi internship khojne ka try karna..
@PunjabPrank4 ай бұрын
Bhai smjh nhi aaya 😢
@AbhishekSensei4 ай бұрын
@@PunjabPrank I am trying to improve everyday, jo bhi samajh na aaya ho mai yahi chat me explain karna ka try kar sakta hu.. aapka doubt batao
@PunjabPrank4 ай бұрын
@@AbhishekSensei bhai please background mein music band krdo ...uski vajah se kush nhi sunayi deta ...aap ek baar series dubara start kro ek live daily ashe se
@AbhishekSensei4 ай бұрын
@@PunjabPrank ok bro, from day after tomorrow.. I will be back.