public static int mystery(int value)
{
    if(value <= 10)                             // checks if 5 <= 10, which is true
        return value * 3;                       // computes 5 * 3, which is 15
                                                // stops and returns 15
    
    return value + mystery(mystery(value / 5));
    //              call2     call 1
}

Call stack

m(5)   returns 15
m(27)1    27 + ____
m(9)   returns 27
m(45)2    45 + ____

Forward to Step 7
Back to Step 5
Back to main example