Given an input string, reverse the string word by word.For example,Given s = "the sky is blue",return "blue is sky the".此题要注意的几个情况是:(1)输入字符串可能含有前缀0和后缀...
分类:
其他好文 时间:
2014-06-28 22:51:26
阅读次数:
261
Evaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an integer or another express...
分类:
其他好文 时间:
2014-06-28 22:31:11
阅读次数:
323
题目链接 Given a linked list, reverse the nodes of a linked list k at a time and return its modified list. If the number of nodes is not a multiple of k t...
分类:
其他好文 时间:
2014-06-28 21:12:46
阅读次数:
211
Real Mode在 real mode 中,memory 的使用被限制在 1 MByte(220bytes) 內,可用的 address 範圍為 0x00000 ~ 0xFFFFF。由 memory address 的可用範圍可知,存取需要 20 bits 的長度,但在 8086 的 CPU 架構...
分类:
其他好文 时间:
2014-06-18 13:41:34
阅读次数:
180
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 ...
分类:
其他好文 时间:
2014-06-17 23:38:04
阅读次数:
341
Structural Things
An artifact is a physical
and replaceable part of a system that contains physical information (“bits”).
In a system, you’ll encounter different kinds of deployment artifacts...
分类:
其他好文 时间:
2014-06-17 23:08:40
阅读次数:
258
1、
??
Reverse Linked List II
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->5->NULL....
分类:
其他好文 时间:
2014-06-17 23:03:12
阅读次数:
257
题目
Given a linked list, reverse the nodes of a linked list k at a time and return its modified list.
If the number of nodes is not a multiple of k then left-out nodes in the end should rem...
分类:
其他好文 时间:
2014-06-17 22:15:52
阅读次数:
299
Reverse digits of an integer.Example1: x = 123, return 321 Example2: x = -123, return -321Have you thought about this?Here are some good questions to ...
分类:
其他好文 时间:
2014-06-17 20:06:14
阅读次数:
205
??
An artifact diagram
shows the physical constituents of a system on the computer. Artifacts include files, databases, and similar physical collections of bits. Artifacts are often used in conjunct...
分类:
其他好文 时间:
2014-06-17 16:11:28
阅读次数:
287