Combinations Vs. Permutations on Linux and Unix

  2008-09-19 09:30:01
Here's a little something to finish the week off and tie up some loose ends. You may have noticed in our Perl script to maximize guaranteed matches in any give number pool that we did all of our work using permutations, which we then went through the trouble of sorting and removing duplicates. Probably a few people out there were thinking:"Why permutations if 1,2,3 and 3,1,2 are going to be considered equal? Isn't that just a bunch of extra work?" The answers to those questions are"why not" and"yes" ;) 
  PNG Image  PNG Image  PNG Image
  Related tags  


This particular article has been collected via RSS syndication. We apologize if it's too brief.
If You wish to publish articles on LinuxStreet.net please contact us.


  Similar articles found on LinuxStreet  
ImageLists vs. Strings: Perl List Permutations For Linux Or Unix
ImageSorting Perl Lists And Removing Duplicates On Linux Or Unix
ImageSpeaking UNIX: Command-line locution
ImageNumber Pools And Guaranteed Combinations Within Fixed Strings
ImageFinding Overlapping Matches Using Perl's Lookahead Assertion Matching On Linux a ...
ImageStephen Fry punts free software
ImageUnix - What Is It? More Linux/Unix Humor
ImageUNIX tips: Become a better blogger with UNIX
ImageSCO's KIA, but what about the rest of the troopers?
ImageEmbracing Unix and Linux Desktops

Leave a comment on this article


Captcha

  
Check this if the code you see is not readable and resubmit the form.
(Data you entered will be preserved)



  

Comments (0)