The worst case analysis of algorithm on multiple stacks manipulation (Q1201875)

From MaRDI portal

!

This is the item page for this Wikibase entity, intended for internal use and editing purposes. Please use the normal view instead:

scientific article; zbMATH DE number 98616
Language Label Description Also known as
default for all languages
No label defined
    English
    The worst case analysis of algorithm on multiple stacks manipulation
    scientific article; zbMATH DE number 98616

      Statements

      The worst case analysis of algorithm on multiple stacks manipulation (English)
      0 references
      0 references
      0 references
      17 January 1993
      0 references
      System developers frequently encounter programs which involve multiple stacks, each of which has dynamically varying size. In such a situation, keeping multiple stacks in a common area with sequential allocation with cause some trouble. A number of possible solutions for overflow have been suggested. \textit{D. E. Knuth} proposed a simple solution in reallocating memory by move operations [The art of computer programming. Vol. 1: Fundamental algorithms (1968; Zbl 0191.179)]. The method will be described in detail in the next section. He also analyzed the average number of movements when overflow occurs and got a formula concerning the number of stacks and pushed items. Here, we focus on the worst sequence of pushed data instead of the individual worst case, getting some interesting properties.
      0 references
      analysis of algorithms
      0 references
      data structures
      0 references
      multiple stacks
      0 references
      overflow
      0 references
      reallocating memory
      0 references
      0 references

      Identifiers