if integer overflow is the only reason then for that i am storing the no. in long long and not int and then finally i am doing modulo with 1e9+7??
if integer overflow is the only reason then for that i am storing the no. in long long and not int and then finally i am doing modulo with 1e9+7??