
My English articles
文章平均质量分 79
NeilHappy
这个作者很懒,什么都没留下…
展开
-
List All Of The Subset In Another Method
Problem description:Please list all of the subsets of a known set including the empty set.Thinking: the subset's sum of a super set is (n is the number of the super set element) while a n-bit bina原创 2013-01-04 16:29:57 · 1187 阅读 · 0 评论 -
A Sieve Method for Prime Numbers
Problem description:Calculate the prime numbers with a sieve method.There is a magical sieve that can remove all the multiple of the number i.Please calculate the prime numbers at a range from 2 to N原创 2013-01-03 11:56:15 · 1184 阅读 · 0 评论 -
List All Of The Subsets
Problem description:Please list all of the subsets of a known set including the empty set.My idea: one thinking of the algorithm backtracking is to generate a tree of subset and the condition of a原创 2013-01-03 20:26:04 · 1275 阅读 · 0 评论 -
Linear Sieve Method for Prime Numbers
Problem description:When we calculate for prime numbers with a sieve method,we delete so many numbers which is not necessary repeatly.For instance,there is a number which consists of 3x7x17x23,and we原创 2013-01-03 15:55:12 · 950 阅读 · 0 评论