Пікірлер
@rpdesigns3545
@rpdesigns3545 2 сағат бұрын
v helpful video brdr <3
@jaisomnath1283
@jaisomnath1283 2 күн бұрын
Same logic used but there is mistake in my implementation thanks for the video😊
@vaibhav9310
@vaibhav9310 3 күн бұрын
REALLY HELPFUL AND EASY TO UNDERSTAND
@ajitkushwaha3101
@ajitkushwaha3101 3 күн бұрын
It's great that you liked it. do subscribe for upcoming videos :) .
@abhishekkoshta2508
@abhishekkoshta2508 4 күн бұрын
Hello brother
@ajitkushwaha3101
@ajitkushwaha3101 4 күн бұрын
Hi 👋
@mainakchanda7918
@mainakchanda7918 5 күн бұрын
Make a playlist
@ajitkushwaha3101
@ajitkushwaha3101 3 күн бұрын
Alright i'll do that but make sure to subscribe for upcoming videos :)
@basepasandhai1906
@basepasandhai1906 9 күн бұрын
test case-> 20 6 18. The above formula returns b = 6, when a = 8. So, we can make 6 pairs with dif B. where A = 8, but we can actually make only five pairs (8,5) to (8,1). correct this pls.
@SakibAlHasan-k4f
@SakibAlHasan-k4f 10 күн бұрын
Your solutions are really great. but a small recommendation as a well wisher, work more on your expressions. Sorry for being rude
@ajitkushwaha3101
@ajitkushwaha3101 10 күн бұрын
Yeah thanks will definitely try to improve this . Also the soul reason of building this channel was to improve myself . To focus on speaking fluently + improving the personality. Will definitely work on this .
@SakibAlHasan-k4f
@SakibAlHasan-k4f 9 күн бұрын
@@ajitkushwaha3101 Kudos on the solutions btw. Keep up the great work
@ajitkushwaha3101
@ajitkushwaha3101 10 күн бұрын
In case you understood the Problem do like and comment , as well you can check out the code on this website :) www.ajitkushwaha.tech/2024/07/codeforces-round-958-div-2-b-c-solution.html
@ajitkushwaha3101
@ajitkushwaha3101 10 күн бұрын
In case you understood the Problem do like and comment , as well you can check out the code on this website :) www.ajitkushwaha.tech/2024/07/codeforces-round-958-div-2-b-c-solution.html
@ajitkushwaha3101
@ajitkushwaha3101 10 күн бұрын
In case you understood the Problem do like and comment , as well you can check out the code on this website :) www.ajitkushwaha.tech/2024/07/codeforces-round-958-div-2-b-c-solution.html
@kingkong76749
@kingkong76749 12 күн бұрын
same code not working
@ajitkushwaha3101
@ajitkushwaha3101 11 күн бұрын
You can comment your code I can tell you where is the error .
@111cook
@111cook 12 күн бұрын
my approach got TLE
@user-zf2or7jb7y
@user-zf2or7jb7y 13 күн бұрын
brother ..place code share in this comment most of the help !!!!!!!!!
@UTKARSHTIWARI-ky6jn
@UTKARSHTIWARI-ky6jn 17 күн бұрын
bro what was the use of l and r information given ?
@44.ayushkeshri64
@44.ayushkeshri64 18 күн бұрын
Thanks, you saved my hours of solving it.
@havearelax31401
@havearelax31401 18 күн бұрын
Nice job dude! I was thinking to solve this one very complex way and you just did it easily +_+Respect. Can you please tell me how can I learn this kind of stuffs, any references, any resources or website you wanna mention?
@tanmayx04
@tanmayx04 19 күн бұрын
Thanks a lot ..!! I wasn't getting why TLE came.
@user-js5gt1mk9g
@user-js5gt1mk9g 20 күн бұрын
thats called clean explaination
@ajitkushwaha3101
@ajitkushwaha3101 20 күн бұрын
Thanks , i am superrrrr happy that you liked it :) . Do subscribe for upcoming PCD Videos
@moviehub12334
@moviehub12334 20 күн бұрын
good explanation
@ajitkushwaha3101
@ajitkushwaha3101 20 күн бұрын
Thanks , i am superrrrr happy that you liked it :) . Do subscribe for upcoming PCD Videos
@user-sn7mx4dk1j
@user-sn7mx4dk1j 22 күн бұрын
Awesome bro, keep up the good work
@ajitkushwaha3101
@ajitkushwaha3101 22 күн бұрын
Thanks , I am superrrrr happy that you liked it . Do subscribe us for upcoming PCD :).
@StatusVideosss
@StatusVideosss 22 күн бұрын
great explaination bro
@ajitkushwaha3101
@ajitkushwaha3101 22 күн бұрын
Thanks , I am superrrrr happy that you liked it . Do subscribe us for upcoming PCD :).
@ishwarreddy8820
@ishwarreddy8820 22 күн бұрын
how to get the idea for this kind of questions?
@ajitkushwaha3101
@ajitkushwaha3101 22 күн бұрын
This problem was completely based on observation , the more you practice you'll start understanding the mindset behind problem .
@ajitkushwaha3101
@ajitkushwaha3101 22 күн бұрын
Due to some editing constraints video is already at 1.25x , so i really recommend to watch at normal speed only :) Sorry for this !🥲
@Sonvix7
@Sonvix7 24 күн бұрын
Those who don't understand can do this : cout << (y >= -1 ? "YES" : "NO") << ' ';
@ajitkushwaha3101
@ajitkushwaha3101 22 күн бұрын
Yes true , we just need to do this .
@xboy2374
@xboy2374 25 күн бұрын
very good
@ajitkushwaha3101
@ajitkushwaha3101 24 күн бұрын
Thanks , Do subscribe us :) . From now onwards i'll be posting regularly video solutions of each contest from Codeforces , codechef and leetcode .
@zoro-nf9pg
@zoro-nf9pg 25 күн бұрын
your explantion is awesome.make more videos like this
@ajitkushwaha3101
@ajitkushwaha3101 24 күн бұрын
Thanks , From now onwards i'll be posting regularly video solutions of each contest from Codeforces , Codechef and Leetcode so make sure to subscribe us :) .
@VishalYadav-gk1kg
@VishalYadav-gk1kg 25 күн бұрын
Very nice explanation sir, Thank you!
@ajitkushwaha3101
@ajitkushwaha3101 24 күн бұрын
Thanks , From now onwards i'll be posting regularly video solutions of each contest from Codeforces , codechef and leetcode so make sure to subscribe us :) .
@saurabh0065
@saurabh0065 26 күн бұрын
id apki kya hai ?
@user-gm6cl1dg2j
@user-gm6cl1dg2j 27 күн бұрын
amazing
@ajitkushwaha3101
@ajitkushwaha3101 27 күн бұрын
Thanks :) . if you liked it do subscribe us for upcoming Post contest Discussion videos .
@abhibhagat7767
@abhibhagat7767 28 күн бұрын
this was by far the best explanation with examples.
@ajitkushwaha3101
@ajitkushwaha3101 27 күн бұрын
Thanks :) . its great that you liked it .
@SHIMULMAHMUDKHATAMI
@SHIMULMAHMUDKHATAMI 28 күн бұрын
very well explained. keep it up. Waiting for more
@ajitkushwaha3101
@ajitkushwaha3101 27 күн бұрын
Thanks . will definitely upload a lot's video. Do subscribe us :).
@yashwardhansingh8401
@yashwardhansingh8401 28 күн бұрын
Good job sir. Great Explanation sir 👍
@ajitkushwaha3101
@ajitkushwaha3101 27 күн бұрын
Thanks :) , i am happy that you liked it ...
@PushpendraKushvaha
@PushpendraKushvaha 28 күн бұрын
I was not able to understand the question, but your explanation made it clear :) Keep uploading...
@ajitkushwaha3101
@ajitkushwaha3101 28 күн бұрын
Thanks ! I am super happy that you liked it :) . Subscribe for upcoming PCD.
@PushpendraKushvaha
@PushpendraKushvaha 27 күн бұрын
@@ajitkushwaha3101 Subscribed.
@kiranvats9503
@kiranvats9503 28 күн бұрын
Sir please help above code
@kiranvats9503
@kiranvats9503 28 күн бұрын
Sir please please help me with this for fifth question giving run time error I do not know string hashing so i use 3 vectors that store prefix strting suffix string and the current string with length n/2. Giving. Run time error on 5 th hidden test case . Took more than 5 hour #include <bits/stdc++.h> using namespace std; int main() { int t; cin>>t; while(t--){ string s; cin>>s; int ans=0; int n=s.length(); if(n%2!=0) ans=0; else{ int x=n/2; vector<string>prefix(n),suffix(n),mera(n); for(int i=0;i<n;i++){ if(i-1>=0) prefix[i]=prefix[i-1]+s[i]; else prefix[i]=s[0]; } for(int i=n-1;i>=0;i--){ if(i<n-1) suffix[i]=s[i]+suffix[i+1]; else suffix[i]=s[n-1]; } string temp=""; for(int i=0;i<x;i++){ temp+=s[i]; } for(int i=0;i<n;i++){ mera[i]=temp; temp.erase(0,1); if(i+x<n) temp+=s[i+x]; else break; } for(int i=0;i<n;i++){ string p="",q="",r=""; if(i>0) p=prefix[i-1]; q=mera[i]; if(i+x<n) r=suffix[i+x]; if(p.length()>x) break; if(p+q+r==s && p+r==q) ans++; } } cout<<ans<<endl; } return 0; }
@ajitkushwaha3101
@ajitkushwaha3101 Ай бұрын
For youtube shorts video length can be at max 60 sec . so it wasn't possible for me to explain how to make changes according to your requirement into it. if you want i can surely make a long video explaining everything about this library :)
@mithileshmahto1088
@mithileshmahto1088 Ай бұрын
Good explanation Sir👍
@ajitkushwaha3101
@ajitkushwaha3101 Ай бұрын
Acha sir 😏...
@roshangeorge97
@roshangeorge97 Ай бұрын
isnt it similar to if to make a, b equal then we need to take the diff: (a-b) and use this to do like a/(a-b) = b/(a-b) like this we can form a palindrome?
@ajitkushwaha3101
@ajitkushwaha3101 Ай бұрын
I can't understand like what exactly you are trying say but see to make a = b . We can only do this when If(a%k == b%k) then (a-b) will always be divisible with k . And if difference is divisible by k so we just need to add this difference to min(a,b) Now difference/k will be no. Of operations to make them equal that's it.
@ajitkushwaha3101
@ajitkushwaha3101 Ай бұрын
Also one more thing to make a = b I can only do a += k*times. Considering (a<b). Try observing all testcase you will get the all hints . Also if you feel what you are saying is correct do check with few testcase maybe you will get some idea
@ajitkushwaha3101
@ajitkushwaha3101 Ай бұрын
To make it this more interesting i am planning to share the new things that i'll learn everyday while building this project :)
@rohitkandpal
@rohitkandpal Ай бұрын
Your english is really smooth and clear and you explained the project very well. Noice brother keep it up.
@ajitkushwaha3101
@ajitkushwaha3101 Ай бұрын
Thanks , it really means a lot .
@Cloude_kitchen_expert
@Cloude_kitchen_expert Ай бұрын
✌️💡🔥
@ajitkushwaha3101
@ajitkushwaha3101 Ай бұрын
From tomorrow the actual coding part will start :) . Sorry for bad video editing skills :(
@Cloude_kitchen_expert
@Cloude_kitchen_expert Ай бұрын
Best 🎉✌️
@anshulgarg58
@anshulgarg58 Ай бұрын
great explanation bro, really helpful and beautiful solution
@ajitkushwaha3101
@ajitkushwaha3101 Ай бұрын
Thanks , i am happy that you liked it :)
@ajitkushwaha3101
@ajitkushwaha3101 Ай бұрын
Sorry for bad internet connection :( if you have any doubts then you can simply ask :(
@BUY_YOUTUB_VIEWS_347
@BUY_YOUTUB_VIEWS_347 Ай бұрын
suuupper creative video
@ajitkushwaha3101
@ajitkushwaha3101 Ай бұрын
If you have any doubts you can simply ask here :)
@Cloude_kitchen_expert
@Cloude_kitchen_expert Ай бұрын
👏✌️
@ajitkushwaha3101
@ajitkushwaha3101 Ай бұрын
If you have any doubt with the explanation you can simply ask me here :) 🦸‍♀
@codedecodeskm
@codedecodeskm Ай бұрын
simple and sorted 🤐