Bhaiya keeps using 10^9 or MOD in videos but there is no dedicated video explaining why using mod, just says to overcome overflow. I want to know is there specific video on this?
MOD and 10^9 is there any dedicated video on it?
Hi Pankaj, during runtime the input values can be quite large, and when performing operations on these values, the value can become bigger than what your datatype can store, and that will either give wrong answer or produce an error. so to overcome this problem we take MOD of values.
There is no specific video explaining this. I hope I have cleared your query. Please mark your doubt as resolved if you are satisfied.
Okay Thanks for fast respons