摘要: Description:Given an array of integers, every element appears twice except for one. Find that single one.找出只出现一次的数。public class Solution { public i... 阅读全文
posted @ 2015-06-24 23:06 Pickle 阅读(177) 评论(0) 推荐(0) 编辑
摘要: Description:https://leetcode.com/problems/rectangle-area/public class Solution { public int computeArea(int A, int B, int C, int D, int E, int F, i... 阅读全文
posted @ 2015-06-24 00:50 Pickle 阅读(214) 评论(0) 推荐(0) 编辑
摘要: Description:Write an algorithm to determine if a number is "happy".A happy number is a number defined by the following process: Starting with any posi... 阅读全文
posted @ 2015-06-24 00:33 Pickle 阅读(182) 评论(0) 推荐(0) 编辑