Searching a bitstream in linear time for the longest substring of any given density

Computer Science – Data Structures and Algorithms

Scientific paper

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

22 pages, 19 figures; v2: minor edits and enhancements

Scientific paper

10.1007/s00453-010-9424-y

Given an arbitrary bitstream, we consider the problem of finding the longest substring whose ratio of ones to zeroes equals a given value. The central result of this paper is an algorithm that solves this problem in linear time. The method involves (i) reformulating the problem as a constrained walk through a sparse matrix, and then (ii) developing a data structure for this sparse matrix that allows us to perform each step of the walk in amortised constant time. We also give a linear time algorithm to find the longest substring whose ratio of ones to zeroes is bounded below by a given value. Both problems have practical relevance to cryptography and bioinformatics.

No associations

LandOfFree

Say what you really think

Search LandOfFree.com for scientists and scientific papers. Rate them and share your experience with other people.

Rating

Searching a bitstream in linear time for the longest substring of any given density does not yet have a rating. At this time, there are no reviews or comments for this scientific paper.

If you have personal experience with Searching a bitstream in linear time for the longest substring of any given density, we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Searching a bitstream in linear time for the longest substring of any given density will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFWR-SCP-O-716143

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.