Why is only one test case passing?
@neha_153
hello neha,
a)
u have not taken modulo while calculating answer.
b) use modulo artihemtic property i.e (a+b)%mod=(a%mod+b%mod)%mod
@neha_153
hello neha,
a)
b) use modulo artihemtic property i.e (a+b)%mod=(a%mod+b%mod)%mod