کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
427981 686585 2008 6 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Computing Longest Previous Factor in linear time and applications
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Computing Longest Previous Factor in linear time and applications
چکیده انگلیسی

We give two optimal linear-time algorithms for computing the Longest Previous Factor (LPF) array corresponding to a string w. For any position i in w, LPF[i] gives the length of the longest factor of w starting at position i that occurs previously in w. Several properties and applications of LPF are investigated. They include computing the Lempel–Ziv factorization of a string and detecting all repetitions (runs) in a string in linear time independently of the integer alphabet size.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Information Processing Letters - Volume 106, Issue 2, 15 April 2008, Pages 75-80