During the cookoff, my java solution was giving RE (NZEC) but I submitted the same logic in CPP, it got AC.
I’m not able to figure out why it is giving NZEC in Java.
Line 22. i<n is wrong will give runtime error. change it to i<26
Oops, I forgot. Thank you