会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Walker-Lee
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
2015年10月17日
LeetCode104 Maximum Depth of Binary Tree
摘要: LeetCode 104 Maximum Depth of Binary Treehttps://leetcode.com/problems/maximum-depth-of-binary-tree//** * Definition for a binary tree node. * struct ...
阅读全文
posted @ 2015-10-17 10:10 Walker_Lee
阅读(92)
评论(0)
推荐(0)
2015年10月14日
LeetCode 292 Nim Game
摘要: LeetCode 292 Nim Gamehttps://leetcode.com/problems/nim-game/当能被4整除时,才会输。bool canWinNim(int n) { return n%4;}
阅读全文
posted @ 2015-10-14 19:27 Walker_Lee
阅读(92)
评论(0)
推荐(0)
2015年10月12日
LeetCode 258 Add Digits
摘要: LeetCode 258 Add Digitshttps://leetcode.com/problems/add-digits/该题主要用到了树根这个概念 ,百度百科链接:http://baike.baidu.com/view/5820558.htm#include int addDigits(in...
阅读全文
posted @ 2015-10-12 15:23 Walker_Lee
阅读(98)
评论(0)
推荐(0)
上一页
1
2
3
4
公告