Skip site navigation
(1)
Skip section navigation
(2)
Search
Peripheral Links
Text Size:
Normal
/
Large
Donate
Contact
Header And Logo
|
Site Navigation
Home
About
Downloads
Documentation
Community
Developers
Support
Section Navigation
Community
Contributors
Mailing Lists
Subscribe
User lists
pgsql-admin
pgsql-advocacy
pgsql-announce
pgsql-bugs
pgsql-docs
pgsql-cygwin
pgsql-general
pgsql-interfaces
pgsql-jdbc
pgsql-jobs
pgsql-novice
pgsql-odbc
pgsql -performance
pgsql-php
pgsql-ports
pgsql-sql
Developer lists
Regional lists
Project lists
User groups
Inactive lists
IRC
Featured Users
International Sites
Propaganda
Resources
Weekly News
Community login
Profile
Lost password
Search for
Advanced Search
function for longest common substring?
From
: Ben <
bench(at)silentmedia(dot)com
>
To
:
pgsql-general(at)postgresql(dot)org
Subject
: function for longest common substring?
Date
: Mon, 25 Sep 2006 16:14:57 -0700 (PDT)
Does anybody have a stored proc they'd like to share that computes the
longest common substring for a set of strings? Wikipedia defines the
problem nicely:
http://en.wikipedia.org/wiki/Longest_common_substring_problem
Basically, given "abcba" and "abdba", the algorithm should return "ab" and
"ba" as equally valid answers.
Prev by Date:
Re: Timestamp with timezone query
Next by Date:
Re: getting dates in the past
Previous by thread:
getting dates in the past
Next by thread:
deadlock avoidance
Indexes:
Main
Thread
Home
|
Main Index
|
Thread Index
Privacy Policy
| PostgreSQL Archives hosted by
Command Prompt, Inc.
| Designed by
tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group