Why answer should be in modulo 10^9+7
Why we have to answer the result in modulo of 10^9+7. The reason behind this is, time constraints. When we deal with very large numbers though implementing using efficient algorithms results in TLE or outputs us some garbage value. Why modulo To p...
Jun 19, 20221 min read
