Finding longest and most repeated substring
dayzman_at_hotmail.com
Date: 02/10/05
- Next message: mcyberliver: "Re: definition: co-moron"
- Previous message: |-|erc: "Re: there's any finite prefix, not oo........anything you say sci.math"
- Next in thread: dayzman_at_hotmail.com: "Re: Finding longest and most repeated substring"
- Reply: dayzman_at_hotmail.com: "Re: Finding longest and most repeated substring"
- Reply: Alf P. Steinbach: "Re: Finding longest and most repeated substring"
- Reply: gerard46: "Re: Finding longest and most repeated substring"
- Reply: GregoryD: "Re: Finding longest and most repeated substring"
- Reply: Risto Lankinen: "Re: Finding longest and most repeated substring"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 9 Feb 2005 18:07:19 -0800
Hi,
I'm trying to find the longest and most repeated substring using a
suffix tree. For example, with the string "20120120120120120201201201",
I would like the result to be "201". I've been trying to look at the
immediate children of the root and count their leaves. The result turns
out to be "20", because I'm taking the child with the most leaves as my
result. Am I doing something wrong? Is there a better solution for my
problem?
Cheers,
Michael
- Next message: mcyberliver: "Re: definition: co-moron"
- Previous message: |-|erc: "Re: there's any finite prefix, not oo........anything you say sci.math"
- Next in thread: dayzman_at_hotmail.com: "Re: Finding longest and most repeated substring"
- Reply: dayzman_at_hotmail.com: "Re: Finding longest and most repeated substring"
- Reply: Alf P. Steinbach: "Re: Finding longest and most repeated substring"
- Reply: gerard46: "Re: Finding longest and most repeated substring"
- Reply: GregoryD: "Re: Finding longest and most repeated substring"
- Reply: Risto Lankinen: "Re: Finding longest and most repeated substring"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|