题目:Given a linked list, swap every two adjacent nodes and return its head.For example,Given1->2->3->4, you should return the list as2->1->4->3.Your al...
分类:
其他好文 时间:
2014-10-09 00:31:07
阅读次数:
234
[leetcode]There are two sorted arrays A and B of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n))....
分类:
其他好文 时间:
2014-10-08 14:00:15
阅读次数:
147
Given n, generate all structurally unique BST's (binary search trees) that store values 1...n.
For example,
Given n = 3, your program should return all 5 unique BST's shown below.
1 3 ...
分类:
其他好文 时间:
2014-10-08 11:52:35
阅读次数:
202
python解析xml文件操作实例,操作XML文件的常见技巧。xml文件内容: sample xml thing ma xiaoju Springs Widgets, Inc. First I think widgets are greate.You should ...
分类:
编程语言 时间:
2014-10-08 08:09:14
阅读次数:
252
问题: Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime co...
分类:
其他好文 时间:
2014-10-07 18:14:13
阅读次数:
189
题目:Merge Two Sorted ListsMerge two sorted linked lists and return it as a new list. The new list should be made by splicing together the nodes of the ...
分类:
其他好文 时间:
2014-10-06 18:31:30
阅读次数:
145
仅仅是配置文件,粘贴如下,不做解释!去掉了很多功能!仅保留sip电话!
[general]
; General settings for the operation of Yate
; modload: boolean: Should a module be loaded by default if there is no
; reference to it in the [modules]...
分类:
其他好文 时间:
2014-10-06 16:09:00
阅读次数:
167
First of all, you should install a clean Ubuntu Server (Amd-64) on your server. (Version 14.04 is strongly recommended for the best compatibility)Get ...
分类:
其他好文 时间:
2014-10-06 13:56:40
阅读次数:
187
鲤鱼基因组:http://www.ntv.cn/a/20140923/52953.shtml关于鲤鱼基因组的测定,数据质量控制遭到质疑。Why you should QC your reads AND your assembly?Graham Etheringtonhttp://grahamethe...
分类:
其他好文 时间:
2014-10-05 13:53:28
阅读次数:
158
发现一个”Table ‘xxx' is marked as crashed and should be repaired” 的错误。连忙上网搜索,原来修改这个严重的错误很简单:1. 进入管理mysql的phpmyadmin2. 在左则选中自己的数据库3. 在右则勾选中错误信息中的那个'xxx'表4....
分类:
其他好文 时间:
2014-10-05 01:00:07
阅读次数:
328