Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: results from pairs combination

by Animator (Hermit)
on Oct 02, 2008 at 20:18 UTC ( [id://715086]=note: print w/replies, xml ) Need Help??


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

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.

Replies are listed 'Best First'.
Re^4: results from pairs combination
by toolic (Bishop) on Oct 02, 2008 at 20:49 UTC
    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://715086]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2024-05-25 21:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found