We use cookies to ensure that we give you the best experience on our website. You can change your cookie settings at any time. Otherwise, we'll assume you're OK to continue.

Durham University

Computer Science


Publication details for Dr George Mertzios

Ioannidou, K., Mertzios, G.B. & Nikolopoulos, S.D. (2009), The longest path problem is polynomial on interval graphs, in Rastislav Královic and Damian Niwinski eds, Lecture Notes in Computer Science (LNCS) 5734: 34st International Symposium on Mathematical Foundations of Computer Science (MFCS). Novy Smokovec, Slovakia, Springer, Novy Smokovec, 403-414.

Author(s) from Durham


The longest path problem is the problem of finding a path of maximum length in a graph. Polynomial solutions for this problem are known only for small classes of graphs, while it is NP-hard on general graphs, as it is a generalization of the Hamiltonian path problem. Motivated by the work of Uehara and Uno in [20], where they left the longest path problem open for the class of interval graphs, in this paper we show that the problem can be solved in polynomial time on interval graphs. The proposed algorithm runs in O(n 4) time, where n is the number of vertices of the input graph, and bases on a dynamic programming approach.


Proceedings published as: Mathematical Foundations of Computer Science 2009,
34th International Symposium, MFCS 2009, Novy Smokovec, High Tatras, Slovakia, August 24-28, 2009.

Symposium url: