cKK

............当你觉得自己很辛苦,说明你正在走上坡路.............坚持做自己懒得做但是正确的事情,你就能得到别人想得到却得不到的东西............

导航

2016年1月21日

摘要: Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive.Example:Given nums = [-2, 0, 3, -5, 2, -1]sumRang... 阅读全文

posted @ 2016-01-21 16:08 cKK 阅读(201) 评论(0) 推荐(0) 编辑

摘要: /*Given an integer, write a function to determine if it is a power of three.Follow up:Could you do it without using any loop / recursion?*/public clas... 阅读全文

posted @ 2016-01-21 14:35 cKK 阅读(132) 评论(0) 推荐(0) 编辑