SwePub
Sök i LIBRIS databas

  Utökad sökning

WFRF:(Munro Ian)
 

Sökning: WFRF:(Munro Ian) > Resizable arrays in...

Resizable arrays in optimal time and space

Brodnik, Andrej (författare)
Carlsson, Svante (författare)
Luleå tekniska universitet
Demaine, Erik D. (författare)
Department of Computer Science, University of Waterloo, Ontario
visa fler...
Munro, J. Ian (författare)
Department of Computer Science, University of Waterloo, Ontario
Sedgewick, Robert (författare)
Department of Computer Science, Princeton University
visa färre...
 (creator_code:org_t)
2002-07-18
1999
Engelska.
Ingår i: Algorithms and Data Structures. - Berlin : Encyclopedia of Global Archaeology/Springer Verlag. - 3540662790 ; , s. 37-48
  • Konferensbidrag (refereegranskat)
Abstract Ämnesord
Stäng  
  • We present simple, practical and efficient data structures for the fundamental problem of maintaining a resizable one-dimensional array, A[l..l + n - 1], of fixed-size elements, as elements are added to or removed from one or both ends. Our structures also support access to the element in position i. All operations are performed in constant time. The extra space (i.e., the space used past storing the n current elements) is O(√n) at any point in time. This is shown to be within a constant factor of optimal, even if there are no constraints on the time. If desired, each memory block can be made to have size 2k - c for a specified constant c, and hence the scheme works effectively with the buddy system. The data structures can be used to solve a variety of problems with optimal bounds on time and extra storage. These include stacks, queues, randomized queues, priority queues, and deques.

Ämnesord

NATURVETENSKAP  -- Data- och informationsvetenskap -- Datavetenskap (hsv//swe)
NATURAL SCIENCES  -- Computer and Information Sciences -- Computer Sciences (hsv//eng)

Nyckelord

Dependable Communication and Computation Systems
Kommunikations- och beräkningssystem

Publikations- och innehållstyp

ref (ämneskategori)
kon (ämneskategori)

Hitta via bibliotek

Till lärosätets databas

Sök utanför SwePub

Kungliga biblioteket hanterar dina personuppgifter i enlighet med EU:s dataskyddsförordning (2018), GDPR. Läs mer om hur det funkar här.
Så här hanterar KB dina uppgifter vid användning av denna tjänst.

 
pil uppåt Stäng

Kopiera och spara länken för att återkomma till aktuell vy