摘要: Question: Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n. For example, giv 阅读全文
posted @ 2017-07-27 21:23 Realvie 阅读(116) 评论(0) 推荐(0) 编辑
摘要: Question: Given an array of integers, find out whether there are two distinct indices i and j in the array such that the absolute difference between n 阅读全文
posted @ 2017-07-27 15:25 Realvie 阅读(128) 评论(0) 推荐(0) 编辑