Given a sorted linked list, delete all nodes
that have duplicate numbers, leaving onlydistinctnumbers from the original
list.For example,Given1->2->3-...
分类:
其他好文 时间:
2014-06-04 20:19:49
阅读次数:
282
Merge two sorted linked lists and return it as
a new list. The new list should be made by splicing together the nodes of the
first two lists./***Defin...
分类:
其他好文 时间:
2014-06-04 19:23:45
阅读次数:
243
Reverse a linked list from positionmton. Do it
in-place and in one-pass.For example:Given1->2->3->4->5->NULL,m=
2 andn= 4,return1->4->3->2->5->NULL.No...
分类:
其他好文 时间:
2014-06-04 18:55:07
阅读次数:
343
Given a linked list and a valuex, partition it
such that all nodes less thanxcome before nodes greater than or equal tox.You
should preserve the origi...
分类:
其他好文 时间:
2014-06-03 14:12:24
阅读次数:
306
从SQL文件逆向工程到PDM:①选择file -> Reverse Engineer -
> Database②在General选项卡中选择MySQL数据库,点击确定。③using script file
选择你的sql文件,最后选择确定。从PDM转成CDM:①选择工具 -> General CDM...
分类:
数据库 时间:
2014-06-03 14:09:49
阅读次数:
363
原题地址:https://oj.leetcode.com/problems/evaluate-reverse-polish-notation/题意:Evaluate
the value of an arithmetic expression inReverse Polish Notation.Val...
分类:
编程语言 时间:
2014-06-03 11:18:22
阅读次数:
335
原题地址:https://oj.leetcode.com/problems/reverse-words-in-a-string/题意:Given
an input string, reverse the string word by word.For example,Given s = "the s...
分类:
编程语言 时间:
2014-06-03 11:13:36
阅读次数:
258
Given an input string, reverse the string word
by word.For example,Given s = "the sky is blue",return "blue is sky the".click
to show clarification.Cl...
分类:
其他好文 时间:
2014-05-30 16:25:58
阅读次数:
233
Evaluate the value of an arithmetic expression
inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an
integer or another express...
分类:
其他好文 时间:
2014-05-30 15:22:39
阅读次数:
301
Given a binary tree, find its maximum depth.The
maximum depth is the number of nodes along the longest path from the root node
down to the farthest le...
分类:
其他好文 时间:
2014-05-30 15:03:42
阅读次数:
237