Given a strings1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible representation...
分类:
其他好文 时间:
2015-02-09 15:31:37
阅读次数:
149
黑盒测试:测试对象看做黑盒,不考虑程序内部的逻辑结构和内部特性,只依据程序的需求规格说明,在特定的条件下,输入相应的数据,检查程序的输出是否符合它的功能说明。
一、等价分类法(equivalence partitioning)
把输入数据的可能值划分为若干等价类
有效等价类和无效等价类
每一无效等价类至少需要一个测试用例
二、边界值分析法(boundary value analysis)...
分类:
其他好文 时间:
2015-02-07 13:12:52
阅读次数:
148
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome partitioning ofs...
分类:
其他好文 时间:
2015-02-04 12:36:35
阅读次数:
104
Given a string s, partition s such that every substring of the partition is a palindrome.Return the minimum cuts needed for a palindrome partitioning ...
分类:
其他好文 时间:
2015-02-04 07:05:10
阅读次数:
215
Given a string s, partition s such that every substring of the partition is a palindrome.
Return the minimum cuts needed for a palindrome partitioning of s.
For example, given s = "aab",
Retu...
分类:
其他好文 时间:
2015-02-03 21:27:35
阅读次数:
196
Given a string s, partition s such that every substring of the partition is a palindrome.
Return all possible palindrome partitioning of s.
For example, given s = "aab",
Return
[
["aa","...
分类:
其他好文 时间:
2015-02-03 15:09:45
阅读次数:
96
原题地址因为要找所有的解,只能搜索+回溯了看来数据量比较小,关于回文串的判断没有使用动态规划也可以过代码: 1 vector > res; 2 3 bool palindromep(string s) { 4 int i = 0; 5 int j = s.length() - 1; 6 ...
分类:
其他好文 时间:
2015-02-01 23:02:53
阅读次数:
169
Given a strings, partitionssuch that every substring of the partition is a palindrome.Return all possible palindrome partitioning ofs.For example, giv...
分类:
其他好文 时间:
2015-01-31 11:54:13
阅读次数:
202
Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.
Below is one possible representation of s1 = "great":
great
/ gr ...
分类:
其他好文 时间:
2015-01-27 16:25:51
阅读次数:
169
问题描述:
Given a string s, partition s such that every substring of the partition is a palindrome.
Return the minimum cuts needed for a palindrome partitioning of
s.
For example, given s = "aab",
...
分类:
其他好文 时间:
2015-01-26 11:53:51
阅读次数:
128