[leetcode]Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring....
分类:
其他好文 时间:
2014-10-02 13:30:42
阅读次数:
217
[leetcode]Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity....
分类:
其他好文 时间:
2014-10-02 11:43:22
阅读次数:
165
Merge k sorted linked lists and return it as one sorted list. Analyze and describe its complexity1. Naive Solution思路:直接的想法依次找出列表中的最小项串接起来。 复杂度分析:时间复杂度...
分类:
其他好文 时间:
2014-10-02 01:18:11
阅读次数:
163
Given a string S,
find the longest palindromic substring in S.
You may assume that the maximum length of S is
1000, and there exists one unique longest palindromic substring.
面DP题的考官都是神经病。。(吐...
分类:
其他好文 时间:
2014-10-01 13:15:31
阅读次数:
242
Mergeksorted linked lists and return it as one sorted list. Analyze and describe its complexity.方法一:暴力破解,1和2合并,合并后再和3合并,合并后再和4合并。。。如此下去一直将所有链表节点全部合并完。...
分类:
其他好文 时间:
2014-10-01 12:19:11
阅读次数:
252
在昨晚美国旧金山召开的 Windows 发布会上,微软宣布了下一代 Windows 名称为Windows 10。
标志着微软新一代 Windows 10 时代的开始,目前还只是宣布专注于企业和专业用户的功能,尤其是笔记本和桌面电脑的设备。
Windows 10 技术预览版预计明天开始提供下载。
Windows 10 将驱动小尺寸的如可穿戴设备、手机、平板,到笔记本、桌面电脑、Xbox One,以及更大屏幕的设备。
2015年初,微软将透露更多设备类型(比如手机、平板)上的 Windows 10,以及...
原题地址:https://oj.leetcode.com/problems/merge-k-sorted-lists/题意:Mergeksorted linked lists and return it as one sorted list. Analyze and describe its com...
分类:
编程语言 时间:
2014-10-01 00:32:30
阅读次数:
270
今天,安装完VS2013之后,不能正常启动。总提示一个让人摸不到头脑的错误:"Cannot find one of more components. Please reinstall the application"重新安装之后还是有一样的问题。后来发现, devenv.exe 对 “C:\Prog...
分类:
移动开发 时间:
2014-09-30 19:56:49
阅读次数:
616
Given a stringS, find the longest palindromic substring inS. You may assume that the maximum length ofSis 1000, and there exists one unique longest pa...
分类:
其他好文 时间:
2014-09-30 17:19:19
阅读次数:
173
[leetcode]Given two sorted integer arrays A and B, merge B into A as one sorted array....
分类:
其他好文 时间:
2014-09-30 11:36:39
阅读次数:
154