摘要:
This answer is so awesome!! 阅读全文
posted @ 2017-08-21 15:00
keepshuatishuati
阅读(76)
评论(0)
推荐(0)
摘要:
1 Remember : Always make integer validation at hasNext() since it is too late to validate it at next(). 阅读全文
posted @ 2017-08-21 13:53
keepshuatishuati
阅读(85)
评论(0)
推荐(0)
摘要:
1. Has to be sorted if originally not sorted. 2. When merge end point, it could be totally covered instead of intersect. 阅读全文
posted @ 2017-08-21 13:33
keepshuatishuati
阅读(93)
评论(0)
推荐(0)
摘要:
class Solution { public boolean wordBreak(String s, List wordDict) { if (s == null || s.length() == 0) { return false; } boolean[] canBreak = new bool... 阅读全文
posted @ 2017-08-21 12:56
keepshuatishuati
阅读(92)
评论(0)
推荐(0)
摘要:
1. When dot happened, each path should be scanned. 2. Each node will not contain any current char info. 阅读全文
posted @ 2017-08-21 12:44
keepshuatishuati
阅读(117)
评论(0)
推荐(0)
浙公网安备 33010602011771号