select m objects from n objects randomly
摘要:Q: how to select m objects randomly from n objects with euqal possibility?A: allocate an array of m elements to keep the final result. put the first m...
阅读全文
posted @ 2013-12-24 21:57