Https://ide.codingblocks.com/s/243905 TLE showing

I don’t understand how to apply pre computed array to reduce time.

@igarg145 corrected the code no need to precompute


i hope its cleared if yes dont forget to mark it as resolved and hit like :smiley: