Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Building Networks of Matches

by sasikumar (Monk)
on Dec 23, 2004 at 13:59 UTC ( [id://417086]=note: print w/replies, xml ) Need Help??


in reply to Building Networks of Matches

hi

I am just rigting a mere logic i am not writing a code. please adjust with me as am ina hurry to move out of my office.
I know u would be smart enough to make it into a working model

just try this way a reverse hash

Instead of the linenumber as has and elements in the array reverse this concept u will find a simple solution. Just build a hastable with ur elements as key and their line numbers as hash tabls. This would solve your problem.


Please let me know your comments on it.

Thanks
Sasi Kumar

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (8)
As of 2024-04-19 09:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found