题目:
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.
Clarification:
What co...
分类:
编程语言 时间:
2015-01-18 14:30:02
阅读次数:
239
You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single ...
分类:
其他好文 时间:
2015-01-17 22:12:46
阅读次数:
168
记得刚开始学C语言的时候,用vc的F10来调试程序,经常就是一阵狂按,然后一不小心按过了。结果又得从头再来,那时候我就问我的老师,能不能倒退回去几步。我的老师很遗憾地和我说,不行,开弓没有回头箭。这句话至今我还记得,而且,我也是一直这么认为的。 直到今天,才发现GDB竟然有反向调试这个逆天的B...
分类:
数据库 时间:
2015-01-17 16:21:05
阅读次数:
143
题目:You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a sing...
分类:
编程语言 时间:
2015-01-16 14:37:18
阅读次数:
247
Reverse Linked List II(旋转链表的指定部分)
Leetcode
Reverse a linked list from position m to n. Do it in-place and in one-pass.For example:Given 1->2->3->4->5->NULL, m = 2 and n = 4,return 1->4->3->2...
分类:
编程语言 时间:
2015-01-16 10:04:19
阅读次数:
203
The problem: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...
分类:
其他好文 时间:
2015-01-16 06:26:58
阅读次数:
190
Reverse digits of an integer.
Example1: x = 123, return 321
Example2: x = -123, return -321
click to show spoilers.
Have you thought about this?
Here are some good questions to ask before c...
分类:
其他好文 时间:
2015-01-15 22:06:26
阅读次数:
132
题目:
Evaluate the value of an arithmetic expression in Reverse Polish Notation.
Valid operators are +, -, *, /.
Each operand may be an integer or another expression.
Some examples:
["2"...
分类:
编程语言 时间:
2015-01-15 20:25:10
阅读次数:
148
题目: You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a ...
分类:
其他好文 时间:
2015-01-15 20:01:05
阅读次数:
148
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.
Clarification:
What constitutes...
分类:
其他好文 时间:
2015-01-15 18:26:13
阅读次数:
161