language agnostic - Non-recursive algorithms for ordered traversing -
Based on the following techniques, there is a family of connective algorithms - we inspect some assets of the structure and use that property Without the linear, then without the linear time is the time for all possible / accessible variations (or closing, which really does not matter),
example
Lexicographic Permutation a .. a [n] n-k-subset The division of n (in descending order) I think it is enough to clarify the nature of such algorithms, and some other examples can be found in excellent, magnificent "book." My question is the following: In any field of this kind of algorithm, please, please describe me more examples. If you also provide algorithms themselves, then it will be great (in words, above Way, better). Reference to books Bh, the article is also welcome References to related theoretical issues are also welcome (for example, I do not feel like when such algorithms can be created and when -) Thanks in advance. Consider an algorithm from a family of algorithms. E either is already repeated, or if it is recursive, then it can be converted into a similar repeated algorithm by imitating the calling stack by a clear data structure. look at the example .
Comments
Post a Comment