会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
canexjtuzju
记录
Powered by
博客园
博客园
|
首页
|
新随笔
|
联系
|
订阅
|
管理
2014年9月8日
LeetCode--Wrod Break
摘要: ---恢复内容开始--- 1 class Solution { 2 public: 3 bool wordBreak(string s, unordered_set &dict) { 4 int nsize=s.size(); 5 int i=0,j=0; 6...
阅读全文
posted @ 2014-09-08 21:14 canexjtuzju
阅读(125)
评论(0)
推荐(0)
编辑
LeetCode--Largest Rectangle in Histogram
摘要: ---恢复内容开始--- 1 class Solution { 2 public: 3 int largestRectangleArea(vector &height) { 4 int n = height.size(); 5 if(n == 0) 6 ...
阅读全文
posted @ 2014-09-08 20:56 canexjtuzju
阅读(119)
评论(0)
推荐(0)
编辑