2 of my testcases got a problem can u have a look at my code? https://ide.codingblocks.com/s/241318
Few of my test cases are not passing
@sshreya2912 Hey I did not quite get how you are taking mod. Also your code s[i]%a would not have desired impact. s[i] will provide the ascii values stored not the actual values stored.
i made s[i]%a wala change now im getting a run time error with one of the test case others are just fine
@sshreya2912 hey take mod of every element in fastmod function, also if you start taking mod from other end of the string you would not need to take fast expo at all
how do i take mod of every element? could u maybe edit it