Regarding temple problem

can you plz tell me the problem with this code

take a look at constraints

1 <= N <= 10^5
| Ai | <= 10^9

so change size of array to 10^5 instead of 100
after that all testcase will pass

i hope this helps
if yes hit a like and don’t forgot to mark doubt as resolved :grinning:
if you have more doubts regarding this feel free to ask