. In this paper we derive a linear-time, constant-space algorithm to construct a binary heap whose inorder traversal equals a given sequence. We do so in two steps. First, we invert a program that computes the inorder traversal of a binary heap, using the proof rules for program inversion by W. Chen and J.T. Udding. This results in a linear-time solution in terms of binary trees. Subsequently, we data-refine this program to a constant-space solution in terms of linked structures. 1 Introduction In [7] an elegant sorting algorithm is presented which exploits the presortedness of the input sequence. The first step of this variant of Heapsort comprises the conversion of the input sequence in a "mintree," i.e., a binary heap whose in...
We present a new connection between self-adjusting binary search trees (BSTs) and heaps, two fundame...
The pairing heap is a classical heap data structure introduced in 1986 by Fredman, Sedgewick, Sleato...
We implement and prove correct binomial heaps and skew bino-mial heaps. Both are data-structures for...
Although discovered some 30 years ago, the Heapsort algorithm is still not completely understood. He...
Although discovered some 30 years ago, the Heapsort algorithm is still not completely understood. He...
Although discovered some 30 years ago, the Heapsort algorithm is still not completely understood. He...
This paper shows how to put n values into heap order in O(log log n) time using n/log log n processo...
Abstract. The heap is a basic data structure used in a wide variety of applications, including short...
AbstractWe consider the problem of taking advantage of existing order within the input sequence when...
We present a new connection between self-adjusting binary search trees (BSTs) and heaps, two fundame...
We present a new connection between self-adjusting binary search trees (BSTs) and heaps, two fundame...
AbstractIn this paper, we show how to improve the complexity of heap operations and heapsort using e...
We present a new connection between self-adjusting binary search trees (BSTs) and heaps, two fundame...
AbstractA new heapsort algorithm is given in this paper. Its practical value is that the efficiency ...
We present a new connection between self-adjusting binary search trees (BSTs) and heaps, two fundame...
We present a new connection between self-adjusting binary search trees (BSTs) and heaps, two fundame...
The pairing heap is a classical heap data structure introduced in 1986 by Fredman, Sedgewick, Sleato...
We implement and prove correct binomial heaps and skew bino-mial heaps. Both are data-structures for...
Although discovered some 30 years ago, the Heapsort algorithm is still not completely understood. He...
Although discovered some 30 years ago, the Heapsort algorithm is still not completely understood. He...
Although discovered some 30 years ago, the Heapsort algorithm is still not completely understood. He...
This paper shows how to put n values into heap order in O(log log n) time using n/log log n processo...
Abstract. The heap is a basic data structure used in a wide variety of applications, including short...
AbstractWe consider the problem of taking advantage of existing order within the input sequence when...
We present a new connection between self-adjusting binary search trees (BSTs) and heaps, two fundame...
We present a new connection between self-adjusting binary search trees (BSTs) and heaps, two fundame...
AbstractIn this paper, we show how to improve the complexity of heap operations and heapsort using e...
We present a new connection between self-adjusting binary search trees (BSTs) and heaps, two fundame...
AbstractA new heapsort algorithm is given in this paper. Its practical value is that the efficiency ...
We present a new connection between self-adjusting binary search trees (BSTs) and heaps, two fundame...
We present a new connection between self-adjusting binary search trees (BSTs) and heaps, two fundame...
The pairing heap is a classical heap data structure introduced in 1986 by Fredman, Sedgewick, Sleato...
We implement and prove correct binomial heaps and skew bino-mial heaps. Both are data-structures for...