thanks bhaiya for this helpful video. i literally went through so many videos but wasn't able to find the proper explanation but your video was so simplified and well explanied that i don't have any doubts now. thank you sooooooooo much. please keep making such simplified and informative videos😊.
Bhaiya apke videos ko dekh ke lagta h ki kas jaldi jaldi aisi videos mil pati taki jaldi jaldi dekh ke sikh pate😔.... Bhaiya thoda aur frequently videos agr possible ho to dalo n ❤️
one of the best tutorial for CP, god level teaching style,
For the modulo exponentiation towards the end, the b&1 case can be further simplified to return (a * res * res) % M instead of what he's doing here.
Thank you 👍🏻 Your videos are absolutely great.Teaching style is pure gold.♥️♥️
i am watching your video from Jashore University of Science and Technology,Bangladesh.
🎉🎉Nice Explanation & Quality Content
Super cool tutorial. Wish you to see with diversified CP contents in the near future.
Cp looks easy seeing your explanations bhaiya 👌👌
like your teaching way🙌👏
Well explanation 💯
Nicely explained
thanks bhaiya for this helpful video.
i literally went through so many videos but wasn't able to find the proper explanation but your video was so simplified and well explanied that i don't have any doubts now.
thank you sooooooooo much.
please keep making such simplified and informative videos😊.
Bhaiya apke videos ko dekh ke lagta h ki kas jaldi jaldi aisi videos mil pati taki jaldi jaldi dekh ke sikh pate😔.... Bhaiya thoda aur frequently videos agr possible ho to dalo n ❤️
bhai possible nhi hai.. 2 videos a week is also hectic for me
@@iamluv koi nii bhaiya ye la de rhe yahi bahut h fir toh ❤️ thankyou so much bhaiya ❤️
bhaiya code chef me aa rakha hai same concept 😃😃😃😃
awesome as always
wow. great content sir. thank you very much.
Great explanation sir
Great bhaiya
Bhaiya nice explanation
Nice video of cp course
when we are talking about log what base are using in Time complexity Usually 2,e or 10.
i watched this video 1 week ago now aagain i have to watch this :)
Thanks for this awesome content : )
is there isn't a need of multiplying 1ll after a*....because it can make long number too after multiplying?
Thank You bahiya ! really great
Next matrix exponentiation💓🙏
Can't we do like this func(a * a, b)?
♥absolutely amazing
thank you !!! it really means a lot
Thanks!
Great explanation💯
should we not return long long as answer????
Thank you very very much
Thank you ❤️👍
Are you using vim
yeh set precision kya hei bhai
Trying since 4 months but not able to solve codeforces div 2 B in contest thinking to leave cp
What to do??
Chor do , mai bhi 1 months se cp kar rha hu
@@abhikantkumar8833 what is your progress
chor do bhai kisi ko fark thori padta...accha hai aur competition kam ho jyegii....
But we should use only one return na?
But it's very useful when the base and the exponent both are far smaller the totient of the divisor. So binary method is very useful.
if(b == 0)
return 1;
if(b == 1)
return a;
if(b%2 == 0){
return po(a*a , b/2);
}else{
return po(a*a , b/2)*a;
}
Thanx bhaiya
Can you make a small video on how to approach or get intuition of problems in contests... It would be helpful🙏💚
Nice video
bhai Please DSA all topics pe course start kariye
please🙏
🔥🔥🔥
combinatrics pe kb videos aayengi sir?
Okay, learning C++ guides me to watching the indian videos without translation)
Done
What's the next topic u will start after number theory??
Graphs.
@@psibarpsi yaa tree and graph is going on.. Hope the next is DP....
@@itz_me_imraan02Yup! I wish the same too.
💛💛
what is your ide?
sublime text
@@hasnainraza3015 thanks
Bhai please Kisi game ka code bato
❤️
👍
Bloopers gaayb 🤔
Are 'long' and 'long long' same?
Well, they kinda are. But according to my understanding, it's better to use long long, because in the case of some compilers, it's size is greater.