Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re^2: results from pairs combination

by lipong (Initiate)
on Oct 02, 2008 at 12:45 UTC ( [id://714997]=note: print w/replies, xml ) Need Help??


in reply to Re: results from pairs combination
in thread results from pairs combination

Hi Thank you very much for the solution. I have try it and it works very well could I just ask you if could please comment the code a bit more so that I can understand each step. Thank you very much. Luis

Replies are listed 'Best First'.
Re^3: results from pairs combination
by Animator (Hermit) on Oct 02, 2008 at 20:18 UTC

    I suggest you try documenting it yourself.

    Some advice on how/where to start:

    • Come up with an alogirthm to be used: take a piece of paper and try to solve the problem yourself. Go over each pair and make a note on how you decide in which group to put that pair;
    • Post your algorithm here (in English);
    • Try to turn your algorithm into code;
    • Test the code;
    • Post the code;
    • Look back at the code I posted and see if you can understand what I wrote and why I wrote it. If question ask.;

    I suggest this for the following reasons:

    • It should be more rewarding;
    • You will learn more;
    • You will remember what you learned a lot longer;

    The obvious downside is that it will take your more time to figure it out. If I document it/explain it then you know how to solve this particular problem but you might not be able to solve another, similar, problem since you might not see the alogirthm and/or forgot on how this problem was solved.

      I suggest this for the following reasons:
      Don't forget :)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2024-04-18 12:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found