Browse a Listing
Top > JavaScript > Scripts and Programs > Randomizing > Combination
Popular Tags
Free Script links
Member Reviews
Visitor Ratings
Google PR
Here, there are more than one arrays (need not be of same length). First, we pick a number of unique random elements from the first array, numArr1 to form the array pickArr1. Now each element of pickArr1 picks another element from the second array numArr2, which again is unique and random. Thus we form the array pickArr2. Similarly each element of pickArr2 picks unique random elements from numArr3 to form pickArr3.
i.e if the first element of pickArr1 picks the second element of numArr2, then no other element of pickArr1 should pick the second element of numArr2 again
Category:
Write a Review
Add Favorite
Refer it to Friend
Report Broken Link
Date Added: Oct 12, 2006 Hits: 3 Rating: 0.00 Votes: 0
Member Reviews
Visitor Ratings
Google PR