And except Binary Tree I understood most of them
oh yeah I got your problem
store it separately before applying the modulo on it
ok that‘s confusing me then
```java
long c;
c=Math.pow(8,13);```
it shouldn‘t return any double for both cases
you might wanna use a BigInteger. I always had problems when fiddling around with powers
BigIntegers are awesome. They can store way bigger values and you can also use functions like pow and mod on them
they should be provided by the math class
They solved all problems for me when using pow operations
try something like this. It should work fine 😃