Improved Space efficient linear time algorithms for BFS, DFS and applications
Niranka Banerjee, Sankardeep Chakraborty, Venkatesh Raman, Srinivasa, Rao Satti

TL;DR
This paper introduces space-efficient algorithms and data structures for fundamental graph algorithms like BFS and DFS, significantly reducing their space complexity while maintaining linear time performance, with practical applications demonstrated.
Contribution
The authors develop new data structures and algorithms that reduce space usage for BFS and DFS to near-linear bits, improving upon previous methods and enabling efficient graph analysis.
Findings
BFS implemented in O(m+n) time using at most 2n+o(n) bits.
Further space reduction of BFS to 1.585n+o(n) bits.
DFS implemented in O(m+n) time with O(n log(m/n)) bits.
Abstract
Recent work by Elmasry et al. (STACS 2015) and Asano et al. (ISAAC 2014), reconsidered classical fundamental graph algorithms focusing on improving the space complexity. We continue this line of work focusing on space. Our first result is a simple data structure that can maintain any subset of a universe of elements using bits and support in constant time, apart from the standard insert, delete and membership queries, the operation {\it findany} that finds and returns any element of the set (or outputs that the set is empty). Using this we give a BFS implementation that takes time using at most bits. Later, we further improve the space requirement of BFS to at most bits. We demonstrate the use of our data structure by developing another data structure using it that can represent a sequence of non-negative integers $x_1, x_2, \ldots…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsInterconnection Networks and Systems · Advanced Graph Theory Research · Complexity and Algorithms in Graphs
