pick k (assume k < n) items from the list
View Single Post
Nov26-10, 11:48 PM
What happens if k > n? That to me is the problem...
Since the OP said
(assume k < n)
I'm not worried about this case. My program can cause nasal demons if that happens.