Article ID | Journal | Published Year | Pages | File Type |
---|---|---|---|---|
430457 | Journal of Computer and System Sciences | 2009 | 14 Pages |
Abstract
In this paper, we study the inverse sorting problem with bound constraints under the l∞-norm and the Hamming distance. For the problem under the l∞-norm, an O(nlogn)-time algorithm is presented. For the problem under the Hamming distance, we first show that it has an Ω(nlogn)-time lower bound in the comparison model; and then, we present an O(nlogn)-time algorithm. Both of the presented algorithms improve the previous upper bounds from O(n2).
Related Topics
Physical Sciences and Engineering
Computer Science
Computational Theory and Mathematics