摘要:
Count the number of prime numbers less than a non-negative number, n. Example: 一开始用最傻的方法做(逐个判断是否为素数),结果超过了time limit。。 tricky的做法是 用boolean标记每个数,每当遇到一个 阅读全文
摘要:
Serialization is the process of converting a data structure or object into a sequence of bits so that it can be stored in a file or memory buffer, or 阅读全文