Skip to content

PRO TIP Block youtube.com at the DNS level — Pi-hole, NextDNS or your hosts file — but allow youtube-nocookie.com and i.ytimg.com. These tutorials keep playing; the rabbit hole does not.

Learning without distractions

Why Print answer modulo 10^9+7 | Modular Arithmetic | Competitive Programming Course | EP 11

277.1K views on YouTube

Luv 25 tutorials here

FREE COMPETITIVE PROGRAMMING COURSE PLAYLIST : https://youtube.com/playlist?list=PLauivoElc3ggagradg8MfOZreCMmXMmJ-
FOR DOUBTS AND DISCUSSIONS, JOIN DISCORD : https://discord.gg/GMH23tq7Y7
CONNECT ON INSTAGRAM : https://www.instagram.com/i._m_.luv/

In this episode 11 of my competitive programming course, I discuss in detail all the things related to Modular arithmetic and explain why in a lot of questions it is asked to print answer modulo some MOD and why in a lot of cases this value of MOD is 10^9+7

Practice Question :
– https://www.spoj.com/problems/OPMODULO/

Timestamps:
Modular arithmetic formulae : (0:00)
Why print answer modulo M : (3:29)
Stepwise modulo : (7:20)
Why 10^9+7 is an ideal value of mod : (11:37)

Be a part of our awesome Community. Join
○ Discord : https://discord.gg/GMH23tq7Y7
○ Telegram : https://t.me/LuvIsMeYT

You can follow me on below platforms for all the latest updates
○ Instagram : https://www.instagram.com/i._m_.luv/
○ Twitter : https://twitter.com/Luvk1412
○ Linkedin : https://www.linkedin.com/in/luvk1412/

Blog(Not frequently updated)
○ Blog : https://www.codewithluv.in

Hashtags
#modulo #modulararithmetic #competitiveprogramming