摘要: Given a text file file.txt that contains list of phone numbers (one per line), write a one liner bash script to print all valid phone numbers. You may 阅读全文
posted @ 2018-01-05 22:55 immjc 阅读(166) 评论(0) 推荐(0) 编辑
摘要: You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the quality c 阅读全文
posted @ 2018-01-05 16:27 immjc 阅读(89) 评论(0) 推荐(0) 编辑
摘要: Description: Count the number of prime numbers less than a non-negative number, n. 使用sieve of Eratosthenes方法对质数进行筛选。 题目要求就是写出这个算法。 原理是:给出要筛数值的范围n,找出出以 阅读全文
posted @ 2018-01-05 14:58 immjc 阅读(171) 评论(0) 推荐(0) 编辑