Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Identifying Overlapping Area in a Set of Strings

by monkfan (Curate)
on Jul 29, 2005 at 09:10 UTC ( [id://479304]=note: print w/replies, xml ) Need Help??


in reply to Re: Identifying Overlapping Area in a Set of Strings
in thread Identifying Overlapping Area in a Set of Strings

Hi,
it doesn't seem that @$nsub is the set of all substrings of the given string.
Yes you are right. They may or may not be the complete set of substrings.
which suggests that order does matter, so that my guess is that you really have "a list of substrings of a given string".
Again you are right!. They are already "ordered", that's why the set is an array.
Regards,
Edward
  • Comment on Re^2: Identifying Overlapping Area in a Set of Strings

Replies are listed 'Best First'.
Re^3: Identifying Overlapping Area in a Set of Strings
by blazar (Canon) on Jul 29, 2005 at 09:16 UTC
    Incidentally this is why the computer-theoretic concept of array is not the most appropriate correspondent of the mathematical concept of set.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://479304]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2024-04-20 04:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found