activity
20052024
most citedSpace-Efficient Plane-Sweep Algorithms

2 citations · 4 across the 11 of their papers we have counts for

collaborators

14 papers

cs.DS2024

Breaking the Bellman-Ford Shortest-Path Bound

Amr Elmasry

In this paper we give a single-source shortest-path algorithm that breaks, after over 65 years, the bound for the running time of the Bellman-Ford-Moore algorithm, w…

cs.DS2019

Breaking the Bellman-Ford Shortest-Path Bound

Amr Elmasry

In this paper we give a single-source shortest-path algorithm that breaks, after over 60 years, the time bound for the Bellman-Ford algorithm, where is the numbe…

cs.DS2018

Red-Black Trees with Constant Update Time

Amr Elmasry, Mostafa Kahla, Fady Ahdy +1

We show how a few modifications to the red-black trees allow for worst-case update time (once the position of the inserted or deleted element is known). The resulting struct…

cs.DS2015

Memory-Adjustable Navigation Piles with Applications to Sorting and Convex Hulls

Omar Darwish, Amr Elmasry, Jyrki Katajainen

We consider space-bounded computations on a random-access machine (RAM) where the input is given on a read-only random-access medium, the output is to be produced to a write-only s…

cs.DS2015★ 2 cited

Space-Efficient Plane-Sweep Algorithms

Amr Elmasry, Frank Kammer

We introduce space-efficient plane-sweep algorithms for basic planar geometric problems. It is assumed that the input is in a read-only array of items and that the available wo…

cs.DS2015

Counting Inversions Adaptively

Amr Elmasry

We give a simple and efficient algorithm for adaptively counting inversions in a sequence of integers. Our algorithm runs in time in the word-RAM…

cs.DS2014★ 1 cited

Strengthened Lazy Heaps: Surpassing the Lower Bounds for Binary Heaps

Stefan Edelkamp, Jyrki Katajainen, Amr Elmasry

Let denote the number of elements currently in a data structure. An in-place heap is stored in the first locations of an array, uses extra space, and supports the op…

cs.DS2014

Selection from read-only memory with limited workspace

Amr Elmasry, Daniel Dahl Juhl, Jyrki Katajainen +1

Given an unordered array of elements drawn from a totally ordered set and an integer in the range from to , in the classic selection problem the task is to find the…

cs.DS2011

Worst-Case Optimal Priority Queues via Extended Regular Counters

Amr Elmasry, Jyrki Katajainen

We consider the classical problem of representing a collection of priority queues under the operations \Findmin{}, \Insert{}, \Decrease{}, \Meld{}, \Delete{}, and \Deletemin{}. In…

cs.DS2011

Dynamic Range Majority Data Structures

Amr Elmasry, Meng He, J. Ian Munro +1

Given a set of coloured points on the real line, we study the problem of answering range -majority (or "heavy hitter") queries on . More specifically, for a query range $…

cs.DS2010

Priority Queues with Multiple Time Fingers

Amr Elmasry, Arash Farzan, John Iacono

A priority queue is presented that supports the operations insert and find-min in worst-case constant time, and delete and delete-min on element x in worst-case O(lg(min{w_x, q_x}+…

cs.DS2009★ 1 cited

Pairing Heaps with Costless Meld

Amr Elmasry

Improving the structure and analysis in \cite{elm0}, we give a variation of the pairing heaps that has amortized zero cost per meld (compared to an in \cite{elm0}…

cs.DS2008

The Violation Heap: A Relaxed Fibonacci-Like Heap

Amr Elmasry

We give a priority queue that achieves the same amortized bounds as Fibonacci heaps. Namely, find-min requires O(1) worst-case time, insert, meld and decrease-key require O(1) amor…

cs.DS2005

Optimal Prefix Codes with Fewer Distinct Codeword Lengths are Faster to Construct

Ahmed Belal, Amr Elmasry

A new method for constructing minimum-redundancy binary prefix codes is described. Our method does not explicitly build a Huffman tree; instead it uses a property of optimal prefix…