2015年3月30日
摘要: Count and SayThe count-and-say sequence is the sequence of integers beginning as follows:1, 11, 21, 1211, 111221, ...1is read off as"one 1"or11.11is r... 阅读全文
posted @ 2015-03-30 19:30 何氏小萌 阅读(136) 评论(0) 推荐(0)
  2015年3月28日
摘要: 写了2个小时左右的代码。。打算把代码提交到github,发现校园网竟然上不去github了!!明明写代码之前我还上去的,害的我提交了好几次代码出问题,,还以为是VS出了问题,,要不就是自己的代码太厉害把github刺激崩溃了o(^▽^)o 既然上不去,干脆也不想写代码了,,去leetcode刷... 阅读全文
posted @ 2015-03-28 01:23 何氏小萌 阅读(232) 评论(0) 推荐(0)
  2015年3月24日
摘要: Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ ... 阅读全文
posted @ 2015-03-24 18:46 何氏小萌 阅读(111) 评论(0) 推荐(0)
  2015年3月22日
摘要: 这几天在复习算法。所以把以前看过的《算法导论》又看了一遍。不是每章节都看了,挑了有点忘记的,今天正好看了“贪心算法” 。所以在leetcode上找了关于“贪心算法” 的题。Jump GameGiven an array of non-negative integers, you are initi... 阅读全文
posted @ 2015-03-22 16:21 何氏小萌 阅读(282) 评论(0) 推荐(0)
摘要: 一直在写代码。做项目。但是却没有把代码提交到网上的习惯,直到在github上看到几个很好玩的开源项目。才萌生了把自己的一些代码和几个小项目放上去的打算。 但是一开始对代码提交还是有些云里雾里,好不容易又是google又是实践,终于搞定,希望我写的这篇可以帮助像我这样的小白:) 1.我在写c++项... 阅读全文
posted @ 2015-03-22 10:11 何氏小萌 阅读(163) 评论(0) 推荐(0)