摘要: Write an algorithm to determine if a number is "happy". A happy number is a number defined by the following process: Starting with any positive intege 阅读全文
posted @ 2017-10-26 05:41 Jimmy_Cheng 阅读(252) 评论(0) 推荐(0) 编辑
摘要: Design and implement a TwoSum class. It should support the following operations: add and find. add - Add the number to an internal data structure.find 阅读全文
posted @ 2017-10-26 04:47 Jimmy_Cheng 阅读(369) 评论(0) 推荐(0) 编辑