Got AC!
Thanks to Leppy
google.ca/search?q=4000*4000 ... ent=safari
head down .. still m not sure how i did that
Thanks Leppy
Chin up . It's all good
Removed after AC.
If you declare your arrays globally once and large enough for all testcases, does that fix the issue?
Thanks .. it did fix my problem