Unique Set
- Posted by ck lester <cklester at YAHOO.COM> Aug 31, 2000
- 463 views
Okay, I want to prevent a set of six numbers from being a duplicate in a sequence of sets of six numbers... For example: a = { 1, 2, 3, 4, 5, 6 } b = { { 1, 2, 3, 4, 5 ,7 } , { 1, 2, 3, 4, 5, 8 } , { 1, 2, 3, 4, 5, 6} , ... } What's the fastest IsAinB( a, b ) function? I'm not sure if find() or match() would work here, but I'll check. Otherwise, I'm sure some of our resident speed experts can come up with a speedy solution. Thanks! <\< __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com