Raghunath Tewari

dblp:94/2680 · DBLP profile ↗
← Back
26ranked-venue papers
1as first author
9since 2021 · last 2026
0000-0003-1522-8561ORCID · corroborated

Domains — the database's venue-derived domains; a paper can count in several

Theory of computation · 26 · 1 first-author · 9 since 2021Databases, data management, data science and information retrieval · 1 · 1 since 2021
YearPublicationVenuePosition
2026 Reachability in Graphs with Polynomially Many Surface Non-separating Cycles is in UL
Neelabjo Shubhashis Choudhury, Chetan Gupta 0002, Raghunath Tewari
IWOCA3
2026 Parameterizing the Complexity of Finding Long Paths in DAGs
abstract
Given a graph G and two vertices s and t, the Long Path problem asks whether there exists a path of length at least k from s to t. For general graphs, this problem is NP-hard when k is part of the input. For directed acyclic graphs (DAGs), however, it is solvable in polynomial time and is NL-complete. A nondeterministic logspace computation is said to be unambiguous if, on every input, there is at most one accepting computation path. The class UL consists of all problems solvable by such machines, and whether NL = UL is an open question. In this work, we study the unambiguous complexity of the Long Path problem on DAGs under parameterization. Specifically, we consider the problem of deciding whether there exists a path of length at least n-k between two given vertices in a DAG. Bhadra and Tewari [Ronak Bhadra and Raghunath Tewari, 2025] showed that this problem can be solved in unambiguous and co-unambiguous O(klog n) space. We improve this result by giving an algorithm that runs in unambiguous O(k+log n) space. Additionally, we obtain an algorithm that achieves unambiguous and co-unambiguous O(klog n) space while running in time polynomial in both n and k, improving the previous O^*(n^k) time bound.
Ronak Bhadra, Saurya Singh, Raghunath Tewari
MFCS3
2026 Reachability in graphs having linear 2-arboricity two is NL-hard
Ronak Bhadra, Raghunath Tewari
Inf. Process. Lett.2
2025 Inductive Tracing and the Complexity of Finding Hamiltonian Path in DAGs
Ronak Bhadra, Raghunath Tewari
FCT2
2025 Trading Determinism for Time: The k-Reach Problem
abstract
Kallampally and Tewari showed in 2016 that there can be a trade-off between determinism and time in space-bounded computations. This they did by describing an unambiguous non-deterministic algorithm to solve Directed Graph Reachability that requires O (log 2 n ) space and simultaneously runs in polynomial time. Savitch’s 1970 algorithm that solves the same problem deterministically also requires O (log 2 n ) space but doesn’t guarantee polynomial running time and hence the trade-off. We describe a new problem for which we can show a similar trade-off between determinism and time. We consider a collection P of f directed paths. We show that the problem of finding reachability from one vertex to another in the union G of these path graphs via a path that switches amongst the paths in P at most k times can be solved in O ( k log f + log n ) space but the algorithm doesn’t guarantee polynomial runtime. On the other hand, we also show that the same problem can be solved by an unambiguous non-deterministic algorithm that simultaneously runs in O ( k log f + log n ) space and polynomial time. Since these two algorithms are not dependent on Savitch, therefore this example sheds new light on how such a trade-off between determinism and time happens in space-bounded computations and makes the phenomenon less elusive.
Ronak Bhadra, Raghunath Tewari
LAGOS2
2024 Space efficient algorithm for solving reachability using tree decomposition and separators
Rahul Jain 0015, Raghunath Tewari
Theor. Comput. Sci.2
2022 Dynamic Meta-Theorems for Distance and Matching
abstract
Reachability, distance, and matching are some of the most fundamental graph problems that have been of particular interest in dynamic complexity theory in recent years [Samir Datta et al., 2018; Samir Datta et al., 2018; Samir Datta et al., 2020]. Reachability can be maintained with first-order update formulas, or equivalently in DynFO in general graphs with n nodes [Samir Datta et al., 2018], even under O(log(n)/log log(n)) changes per step [Samir Datta et al., 2018]. In the context of how large the number of changes can be handled, it has recently been shown [Samir Datta et al., 2020] that under a polylogarithmic number of changes, reachability is in DynFOpar in planar, bounded treewidth, and related graph classes - in fact in any graph where small non-zero circulation weights can be computed in NC. We continue this line of investigation and extend the meta-theorem for reachability to distance and bipartite maximum matching with the same bounds. These are amongst the most general classes of graphs known where we can maintain these problems deterministically without using a majority quantifier and even maintain witnesses. For the bipartite matching result, modifying the approach from [Stephen A. Fenner et al., 2016], we convert the static non-zero circulation weights to dynamic matching-isolating weights. While reachability is in DynFOar under O(log(n)/log log(n)) changes, no such bound is known for either distance or matching in any non-trivial class of graphs under non-constant changes. We show that, in the same classes of graphs as before, bipartite maximum matching is in DynFOar under O(log(n)/log log(n)) changes per step. En route to showing this we prove that the rank of a matrix can be maintained in DynFOar, also under O(log(n)/log log(n)) entry changes, improving upon the previous O(1) bound [Samir Datta et al., 2018]. This implies a similar extension for the non-uniform DynFO bound for maximum matching in general graphs and an alternate algorithm for maintaining reachability under O(log(n)/log log(n)) changes [Samir Datta et al., 2018].
Samir Datta, Chetan Gupta 0002, Rahul Jain 0015, Anish Mukherjee 0001, Vimalraj Sharma, Raghunath Tewari
ICALP6
2021 Time Space Optimal Algorithm for Computing Separators in Bounded Genus Graphs
abstract
A graph separator is a subset of vertices of a graph whose removal divides the graph into small components. Computing small graph separators for various classes of graphs is an important computational task. In this paper, we present a polynomial time algorithm that uses $O(g^{1/2}n^{1/2}\log n)$-space to find an $O(g^{1/2}n^{1/2})$-sized separator of a graph having $n$ vertices and embedded on a surface of genus $g$.
Chetan Gupta 0002, Rahul Jain 0015, Raghunath Tewari
FSTTCS3
2021 Reachability and Matching in Single Crossing Minor Free Graphs
abstract
We show that for each single crossing graph $H$, a polynomially bounded weight function for all $H$-minor free graphs $G$ can be constructed in Logspace such that it gives nonzero weights to all the cycles in $G$. This class of graphs subsumes almost all classes of graphs for which such a weight function is known to be constructed in Logspace. As a consequence, we obtain that for the class of $H$-minor free graphs where $H$ is a single crossing graph, reachability can be solved in UL, and bipartite maximum matching can be solved in SPL, which are small subclasses of the parallel complexity class NC. In the restrictive case of bipartite graphs, our maximum matching result improves upon the recent result of Eppstein and Vazirani, where they show an NC bound for constructing perfect matching in general single crossing minor free graphs.
Samir Datta, Chetan Gupta 0002, Rahul Jain 0015, Anish Mukherjee 0001, Vimalraj Sharma, Raghunath Tewari
FSTTCS6
2020 Efficient Isolation of Perfect Matching in O(log n) Genus Bipartite Graphs
abstract
We show that given an embedding of an $O(\log n)$ genus bipartite graph, one can construct an edge weight function in logarithmic space, with respect to which the minimum weight perfect matching in the graph is unique, if one exists. As a consequence, we obtain that deciding whether such a graph has a perfect matching or not is in SPL. In 1999, Reinhardt, Allender and Zhou proved that if one can construct a polynomially bounded weight function for a graph in logspace such that it isolates a minimum weight perfect matching in the graph, then the perfect matching problem can be solved in SPL. In this paper, we give a deterministic logspace construction of such a weight function for $O(\log n)$ genus bipartite graphs.
Chetan Gupta 0002, Vimalraj Sharma, Raghunath Tewari
MFCS3
2019 Unambiguous Catalytic Computation
abstract
The catalytic Turing machine is a model of computation defined by Buhrman, Cleve, Koucký, Loff, and Speelman (STOC 2014). Compared to the classical space-bounded Turing machine, this model has an extra space which is filled with arbitrary content in addition to the clean space. In such a model we study if this additional filled space can be used to increase the power of computation or not, with the condition that the initial content of this extra filled space must be restored at the end of the computation. In this paper, we define the notion of unambiguous catalytic Turing machine and prove that under a standard derandomization assumption, the class of problems solved by an unambiguous catalytic Turing machine is same as the class of problems solved by a general nondeterministic catalytic Turing machine in the logspace setting.
Chetan Gupta 0002, Rahul Jain 0015, Vimalraj Sharma, Raghunath Tewari
FSTTCS4
2019 An O(n^(1/4 +epsilon)) Space and Polynomial Algorithm for Grid Graph Reachability
abstract
The reachability problem is to determine if there exists a path from one vertex to another in a graph. Grid graphs are the class of graphs where vertices are present on the lattice points of a two-dimensional grid, and an edge can occur between a vertex and its immediate horizontal or vertical neighbor only. Asano et al. presented the first simultaneous time space bound for reachability in grid graphs by presenting an algorithm that solves the problem in polynomial time and O(n^(1/2 + epsilon)) space. In 2018, the space bound was improved to O~(n^(1/3)) by Ashida and Nakagawa. In this paper, we show that reachability in an n vertex grid graph can be decided by an algorithm using O(n^(1/4 + epsilon)) space and polynomial time simultaneously.
Rahul Jain 0015, Raghunath Tewari
FSTTCS2
2019 Reachability in High Treewidth Graphs
abstract
Reachability is the problem of deciding whether there is a path from one vertex to the other in the graph. Standard graph traversal algorithms such as DFS and BFS take linear time to decide reachability; however, their space complexity is also linear. On the other hand, Savitch’s algorithm takes quasipolynomial time although the space bound is O(log^2 n). Here, we study space efficient algorithms for deciding reachability that run in polynomial time. In this paper, we show that given an n vertex directed graph of treewidth w along with its tree decomposition, there exists an algorithm running in polynomial time and O(w log n) space that solves the reachability problem.
Rahul Jain 0015, Raghunath Tewari
ISAAC2
2019 Reachability in O(log n) Genus Graphs is in Unambiguous Logspace
abstract
We show that given an embedding of an O(log n) genus graph G and two vertices s and t in G, deciding if there is a path from s to t in G is in unambiguous logarithmic space. Unambiguous computation is a restriction of nondeterministic computation where the nondeterministic machine has at most one accepting computation path on each input. An important fundamental question in computational complexity theory is whether this is an actual restriction or are unambiguous computations as powerful as general nondeterminism. We investigate this problem in the domain of logarithmic space bounded computations, where the corresponding unambiguous and general nondeterministic classes are UL and NL respectively. In 1997 Reinhardt and Allender showed that NL and UL are equal in a non-uniform model. More specifically they showed that if one can efficiently construct an O(log n)-bit min-unique weight function for a graph, then these classes are equal unconditionally as well. In other words, they gave a UL algorithm to solve reachability in graphs with a min-unique weight assignment. Using this approach reachability in various classes of graphs such as planar graphs, constant genus graphs, minor free graphs, etc., have been shown to be in UL by devising min-unique weight functions for those classes. In this paper we improve these results by constructing a min-unique weight function for O(log n) genus graphs. We define signature of a path in a graph as the parity of the number of crossings of that path with respect to each handle of the surface on which the graph is embedded. We construct our weight function in two steps. First we ensure that between any pair of vertices, amongst all paths having the same signature, the minimum weight path is unique. Now since in a genus g graph there are 2^{2g} many possible signatures, we use the hashing scheme of Fredman, Komlós and Szemerédi to isolate a unique minimum weight path among these 2^{2g} many paths isolated in the first step.
Chetan Gupta 0002, Vimalraj Sharma, Raghunath Tewari
STACS3
2016 Trading Determinism for Time in Space Bounded Computations
abstract
Savitch showed in 1970 that nondeterministic logspace (NL) is contained in deterministic O(log^2(n)) space but his algorithm requires quasipolynomial time. The question whether we can have a deterministic algorithm for every problem in NL that requires polylogarithmic space and simultaneously runs in polynomial time was left open. In this paper we give a partial solution to this problem and show that for every language in NL there exists an unambiguous nondeterministic algorithm that requires O(log^2(n)) space and simultaneously runs in polynomial time.
Vivek Anand T. Kallampally, Raghunath Tewari
MFCS2
2016 Derandomizing Isolation Lemma for K3, 3-free and K5-free Bipartite Graphs
abstract
The perfect matching problem has a randomized NC algorithm, using the celebrated Isolation Lemma of Mulmuley, Vazirani and Vazirani. The Isolation Lemma states that giving a random weight assignment to the edges of a graph ensures that it has a unique minimum weight perfect matching, with a good probability. We derandomize this lemma for K3,3-free and K5-free bipartite graphs. That is, we give a deterministic log-space construction of such a weight assignment for these graphs. Such a construction was known previously for planar bipartite graphs. Our result implies that the perfect matching problem for K3,3-free and K5-free bipartite graphs is in SPL. It also gives an alternate proof for an already known result – reachability for K3,3-free and K5-free graphs is in UL.
Rahul Arora 0001, Ashu Gupta, Rohit Gurjar, Raghunath Tewari
STACS4
2015 An O(n^ε ) Space and Polynomial Time Algorithm for Reachability in Directed Layered Planar Graphs
Diptarka Chakraborty, Raghunath Tewari
ISAAC2
2014 New Time-Space Upperbounds for Directed Reachability in High-genus and H-minor-free Graphs
abstract
We obtain the following new simultaneous time-space upper bounds for the directed reachability problem. (1) A polynomial-time, O(n^{2/3} * g^{1/3})-space algorithm for directed graphs embedded on orientable surfaces of genus g. (2) A polynomial-time, O(n^{2/3})-space algorithm for all H-minor-free graphs given the tree decomposition, and (3) for K_{3,3}-free and K_5-free graphs, a polynomial-time, O(n^{1/2 + epsilon})-space algorithm, for every epsilon > 0. For the general directed reachability problem, the best known simultaneous time-space upper bound is the BBRS bound, due to Barnes, Buss, Ruzzo, and Schieber, which achieves a space bound of O(n/2^{k * sqrt(log(n))}) with polynomial running time, for any constant k. It is a significant open question to improve this bound for reachability over general directed graphs. Our algorithms beat the BBRS bound for graphs embedded on surfaces of genus n/2^{omega(sqrt(log(n))}, and for all H-minor-free graphs. This significantly broadens the class of directed graphs for which the BBRS bound can be improved.
Diptarka Chakraborty, Aduri Pavan, Raghunath Tewari, N. V. Vinodchandran, Lin Yang 0011
FSTTCS3
2014 ReachFewL = ReachUL
Brady Garvin, Derrick Stolee, Raghunath Tewari, N. V. Vinodchandran
Comput. Complex.3
2012 Improved Bounds for Bipartite Matching on Surfaces
abstract
We exhibit the following new upper bounds on the space complexity and the parallel complexity of the Bipartite Perfect Matching (BPM) problem for graphs of small genus: (1) BPM in planar graphs is in UL (improves upon the SPL bound from Datta, Kulkarni, and Roy; (2) BPM in constant genus graphs is in NL (orthogonal to the SPL bound from Datta, Kulkarni, Tewari, and Vinodchandran.; (3) BPM in poly-logarithmic genus graphs is in NC; (extends the NC bound for O(log n) genus graphs from Mahajan and Varadarajan, and Kulkarni, Mahajan, and Varadarajan. For Part (1) we combine the flow technique of Miller and Naor with the double counting technique of Reinhardt and Allender . For Part (2) and (3) we extend Miller and Naor's result to higher genus surfaces in the spirit of Chambers, Erickson and Nayyeri.
Samir Datta, Arjun Gopalan, Raghav Kulkarni, Raghunath Tewari
STACS4
2012 On the power of unambiguity in log-space
Aduri Pavan, Raghunath Tewari, N. V. Vinodchandran
Comput. Complex.2
2012 Green's theorem and isolation in planar graphs
Raghunath Tewari, N. V. Vinodchandran
Inf. Comput.1
2012 Space complexity of perfect matching in bounded genus bipartite graphs
Samir Datta, Raghav Kulkarni, Raghunath Tewari, N. V. Vinodchandran
J. Comput. Syst. Sci.3
2011 ReachFewL = ReachUL
Brady Garvin, Derrick Stolee, Raghunath Tewari, N. V. Vinodchandran
COCOON3
2011 Space Complexity of Perfect Matching in Bounded Genus Bipartite Graphs
abstract
We investigate the space complexity of certain perfect matching problems over bipartite graphs embedded on surfaces of constant genus (orientable or non-orientable). We show that the problems of deciding whether such graphs have (1) a perfect matching or not and (2) a unique perfect matching or not, are in the logspace complexity class \SPL. Since \SPL\ is contained in the logspace counting classes $\oplusŁ$ (in fact in \modk\ for all $k\geq 2$), \CeqL, and \PL, our upper bound places the above-mentioned matching problems in these counting classes as well. We also show that the search version, computing a perfect matching, for this class of graphs is in $\FL^{\SPL}$. Our results extend the same upper bounds for these problems over bipartite planar graphs known earlier. As our main technical result, we design a logspace computable and polynomially bounded weight function which isolates a minimum weight perfect matching in bipartite graphs embedded on surfaces of constant genus. We use results from algebraic topology for proving the correctness of the weight function.
Samir Datta, Raghav Kulkarni, Raghunath Tewari, N. V. Vinodchandran
STACS3
2007 Directed Planar Reachability is in Unambiguous Log-Space
abstract
We show that the st-connectivity problem for directed planar graphs can be decided in unambiguous logarithmic space.
Chris Bourke, Raghunath Tewari, N. V. Vinodchandran
CCC2