• + 0 comments

    if(n == 2) { return 1; } else if (n <= 1 ) { return 0; }

    return handshake(n-1) + n-1;