Struggling a little with recursion. I have this
public static void mystery(int n) {
if (n > 0){
mystery(n-1);
System.out.print(n * 4);
mystery(n-1);
}
}
public static void main(String[] args) {
MysteryClass.mystery(3);
}
}```
And I am trying to understand exactly how it executes. But I am not getting it quite right. Would love for a good explanation of what it does exactly and what line executes when etc