Java related help(power of a given array)

what is wrong with the code

https://ide.codingblocks.com/s/223344

Hey @mayank10
Can you please send the link to the question for which you have raised this doubt
I dont think its SPP

yes sir it is not spp but this concept is used in spp.(to find the power of transposition array)

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.

what is the mistake in code https://ide.codingblocks.com/s/236041

all other function except spp_2 are correct