An optimal algorithm for the maximum-density path in a tree

  • Authors:
  • Bang Ye Wu

  • Affiliations:
  • Dept. of Computer Science and Information Engineering, National Chung Cheng University, Taiwan

  • Venue:
  • Information Processing Letters
  • Year:
  • 2009

Quantified Score

Hi-index 0.89

Visualization

Abstract

We studied the problem of finding the maximum-density path in a tree. By spine decomposition and a linear-time algorithm for the maximum density segment problem, we developed an O(nlogn) time algorithm, which improves the previously best result of O(nlog^2n) by using centroid decomposition. We also show the time complexity is optimal in the algebraic computation tree model.