摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文
摘要:
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... 阅读全文