12 2014 档案

摘要:这是LeetCode上的一道题目,求出对于一个string,至少切多少刀可以让所有的substring都是回文串。原题是 https://oj.leetcode.com/problems/palindrome-partitioning-ii/Given a string s, partition s... 阅读全文
posted @ 2014-12-07 15:52 tonikroos 阅读(138) 评论(0) 推荐(0)
摘要:这是LeetCode上的一道题目,需要求二叉树中两点路径的最大和。原题是https://oj.leetcode.com/problems/binary-tree-maximum-path-sum/Given a binary tree, find the maximum path sum.The p... 阅读全文
posted @ 2014-12-03 21:54 tonikroos 阅读(142) 评论(0) 推荐(0)