public static int mystery(int value)
{
    if(value <= 10)
        return value * 3;
    
    return value + mystery(mystery(value / 5));
    //              call2     call 1
}

Call stack

m(45)

Explanation

The inner call is labeled call 1, since it is executed first.

Forward to Step 2
Back to main example