摘要:
Problem description:given a string, find the longest palindrome string in itSolution:1.brute force O(n^3)just enumerate start and end of the substring...
阅读全文
posted @ 2014-04-29 17:03
mizz
阅读(114)
推荐(0)
编辑
摘要:
1.for a two dimension vector, we must assign at least the first dimension of the vector2.each dimension of an inner vector can be different3.if you do...
阅读全文
posted @ 2014-04-29 14:54
mizz
阅读(162)
推荐(0)
编辑
摘要:
it's generally known to all that when pass a value as a parameter,such as an integer,a double or other type, any revision or other change can't make a...
阅读全文
posted @ 2014-04-29 00:55
mizz
阅读(124)
推荐(0)
编辑
摘要:
while hand-writing the code,I meet with some trivial problems,which greatly worries me.1.since it's a singly list, if we don't modify the list, we hav...
阅读全文
posted @ 2014-04-29 00:21
mizz
阅读(142)
推荐(0)
编辑