Calculate size including the current node
int liss_incl = 1 ; if ( root . left != null ) { liss_incl += ( liss ( root . left . left ) + liss ( root . left . right ) ) ; } if ( root . right != null ) { liss_incl += ( liss ( root . right . left ) + liss ( root . right . right ) ) ; }