摘要: Given an array w of positive integers, where w[i] describes the weight of index i, write a function pickIndex which randomly picks an index in proport 阅读全文
posted @ 2020-03-12 10:48 xuan_abc 阅读(117) 评论(0) 推荐(0)