Searched refs:shortestAncestorCount (Results 1 – 1 of 1) sorted by relevance
305 int shortestAncestorCount = 10000; in findCommonAncestor() local313 if(numAncestors < shortestAncestorCount) in findCommonAncestor()315 shortestAncestorCount = numAncestors; in findCommonAncestor()323 if(ancestorCounts[i] > shortestAncestorCount) in findCommonAncestor()325 int numStepCorrection = ancestorCounts[i] - shortestAncestorCount; in findCommonAncestor()336 while(shortestAncestorCount-- >= 0) in findCommonAncestor()