Counting inversions in lists

被引:0
|
作者
Gupta, A [1 ]
Zane, FX [1 ]
机构
[1] Lucent Bell Labs, Murray Hill, NJ 07974 USA
关键词
D O I
暂无
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
In a recent paper, Ajtai et al. [1] give a streaming algorithm to count the number of inversions in a stream L is an element of [m](n) using two passes and O(epsilon(-1) rootn log n(log m+ log n)) space. Here, we present a simple randomized streaming algorithm for the same problem that uses one pass and O(epsilon(-3) log(2)n log m) space. Our algorithm is based on estimating quantiles of the items already seen in the stream, and using that to estimate the number of inversions involving each element.
引用
收藏
页码:253 / 254
页数:2
相关论文
共 50 条
  • [31] Evolving Inversions
    Faria, Rui
    Johannesson, Kerstin
    Butlin, Roger K.
    Westram, Anja M.
    TRENDS IN ECOLOGY & EVOLUTION, 2019, 34 (03) : 239 - 248
  • [32] Inversions in Fritillaria
    Frankel, OH
    JOURNAL OF GENETICS, 1937, 34 (03) : 447 - 462
  • [33] Atmospheric inversions
    Luca Maltagliati
    Nature Astronomy, 2017, 1 : 651 - 651
  • [34] Atmospheric inversions
    Maltagliati, Luca
    NATURE ASTRONOMY, 2017, 1 (10): : 651 - 651
  • [35] Inversions in tournaments
    Belkhechine, Houmem
    Bouaziz, Moncef
    Boudabbous, Imed
    Pouzet, Maurice
    COMPTES RENDUS MATHEMATIQUE, 2010, 348 (13-14) : 703 - 707
  • [36] SEQUENCES AND INVERSIONS
    CARLITZ, L
    DUKE MATHEMATICAL JOURNAL, 1970, 37 (01) : 193 - &
  • [37] Lists on lists: A framework for self-organizing lists in environments with locality of reference
    Amer, Abdelrahman
    Oommen, B. John
    EXPERIMENTAL ALGORITHMS, PROCEEDINGS, 2006, 4007 : 109 - 120
  • [38] A BUDGET OF INVERSIONS
    NICKEL, JA
    MATHEMATICAL AND COMPUTER MODELLING, 1995, 21 (06) : 87 - 93
  • [39] ON A CLASS OF INVERSIONS
    GRADL, H
    WALCHER, S
    COMMUNICATIONS IN ALGEBRA, 1992, 20 (08) : 2371 - 2392
  • [40] Stellar inversions
    Basu, S
    ASTROPHYSICS AND SPACE SCIENCE, 2003, 284 (01) : 153 - 164