Skip to main content

Palindrome Recognition In The Streaming Model

Resource type
Thesis type
(Thesis) M.Sc.
Date created
2014-08-28
Authors/Contributors
Abstract
A palindrome is defined as a string which reads forwards the same as backwards, like, for example, the string "racecar." In the Palindrome Problem, one tries to find all palindromes in a given string. In contrast, in the case of the Longest Palindromic Substring Problem, the goal is to find an arbitrary one of the longest palindromes in the string. In this paper we present three algorithms in the streaming model for the above problems, where at any point in time we are only allowed to use sublinear space. We first present a one-pass randomized algorithm that solves the Palindrome Problem. It has an additive error and uses O(sqrt(n)) space. We also give two variants of the algorithm which solve related and practical problems. The second algorithm determines the exact locations of all the longest palindromes using two passes and O(sqrt(n))) space. The third algorithm is a one-pass randomized algorithm, which solves the Longest Palindromic Substring Problem. It has a multiplicative error using only O(log(n)) space. Moreover, we give a matching lower bound for any one-pass algorithm having additive error.
Document
Identifier
etd9006
Copyright statement
Copyright is held by the author.
Permissions
The author granted permission for the file to be printed, but not for the text to be copied and pasted.
Scholarly level
Supervisor or Senior Supervisor
Thesis advisor: Ergun, Funda
Member of collection
Download file Size
etd9006_ESadeqiAzer.pdf 1.08 MB

Views & downloads - as of June 2023

Views: 0
Downloads: 0