کد مقاله کد نشریه سال انتشار مقاله انگلیسی نسخه تمام متن
427964 686581 2010 5 صفحه PDF دانلود رایگان
عنوان انگلیسی مقاله ISI
Counting distinct palindromes in a word in linear time
موضوعات مرتبط
مهندسی و علوم پایه مهندسی کامپیوتر نظریه محاسباتی و ریاضیات
پیش نمایش صفحه اول مقاله
Counting distinct palindromes in a word in linear time
چکیده انگلیسی

We design an algorithm to count the number of distinct palindromes in a word w in time O(|w|), by adapting an algorithm to detect all occurrences of maximal palindromes in a given word and using the longest previous factor array. As a direct consequence, this shows that the palindromic richness (or fullness) of a word can be checked in linear time.

ناشر
Database: Elsevier - ScienceDirect (ساینس دایرکت)
Journal: Information Processing Letters - Volume 110, Issue 20, 30 September 2010, Pages 908-912