- 博客(4)
- 资源 (3)
- 收藏
- 关注
原创 367. Valid Perfect Square我的做法
Given a positive integer num, write a function which returns True if num is a perfect square else False.Note: Do not use any built-in library function such as sqrt.Example 1:Input: 16Return
2016-07-07 10:52:26 466
原创 我心中最好玩的音乐游戏——音符传说
话说很久以前,在宇宙形成之初,大爆炸打乱了音乐世界,使得音符散落一地,七零八碎。而你的使命就是把音符串联起来,合成一曲曲美妙的音乐。这是游戏的背景故事。音符传说这是我心中最好的音乐游戏简洁优雅的界面可爱萌萌的角色第一眼便喜欢上了这个游戏是跳跃的舞姿让我体会到游戏的快感是跳跃的速度让我产生了恐高的感觉是优美的音乐让我坚持着心中的梦想
2016-07-06 21:06:00 1540
原创 LeetCode368. Largest Divisible Subset易懂的解法
Given a set of distinct positive integers, find the largest subset such that every pair (Si, Sj) of elements in this subset satisfies: Si % Sj = 0 or Sj % Si = 0.If there are multiple solution
2016-07-04 11:32:51 899
原创 371. Sum of Two Integers也许是最简洁易懂的做法了
Calculate the sum of two integers a and b, but you are not allowed to use the operator + and -.Example:Given a = 1 and b = 2, return 3.实现:class Solution {public: int getSum(in
2016-07-03 17:25:30 3284
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人