在读Elements of the Theory of Computation一书时看到了一个词叫做“dovetailing”,查资料后发现这是一个设计算法的技巧。
Dovetailing, in algorithm design, is a technique that interweaves different computations, performing them essentially simultaneously. Algorithms that use dovetailing are sometimes referred to as dovetailers.
Co