Linear-Time In-Place DFS and BFS in the Restore Model

03/12/2018
by   Frank Kammer, et al.
0

We present an in-place depth first search (DFS) and an in-place breadth first search (BFS) that runs in the restore model in linear time. To obtain our results we show several linear-time in-place graph transformations from one representation to another representation.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/22/2019

Optimal In-place Algorithms for Basic Graph Problems

We present linear time in-place algorithms for several basic and fundam...
research
05/07/2020

Linear Time LexDFS on Chordal Graphs

Lexicographic Depth First Search (LexDFS) is a special variant of a Dept...
research
04/24/2023

Median of heaps: linear-time selection by recursively constructing binary heaps

The first worst-case linear-time algorithm for selection was discovered ...
research
06/14/2023

A note on the complexity of addition

We show that the sum of a sequence of integers can be computed in linear...
research
09/13/2021

The inverse of Ackermann function is computable in linear time

We propose a detailed proof of the fact that the inverse of Ackermann fu...
research
01/13/2022

PageRank Algorithm using Eigenvector Centrality – New Approach

The purpose of the research is to find a centrality measure that can be ...
research
06/10/2021

Deterministic Mincut in Almost-Linear Time

We present a deterministic (global) mincut algorithm for weighted, undir...

Please sign up or login with your details

Forgot password? Click here to reset