/* 在终端输入多行信息,找出包含"ould"的行,并打印改行。
如:
Au,love could you and I with fate conspire
To grasp this sorry scheme of things entire,
Would not we shatter it to bitd - and then.
在终端输出上述的文字,输出
Au,love could you ...
分类:
编程语言 时间:
2015-04-04 13:44:11
阅读次数:
172
DBA_EXTENTS describes the extents comprising the segments in all tablespaces in the database.Note that if a datafile (or entire tablespace) is offline...
分类:
数据库 时间:
2015-04-01 21:36:55
阅读次数:
202
Implement regular expression matching with support for '.' and '*'.
'.' Matches any single character.
'*' Matches zero or more of the preceding element.
The matching should cover the entire input...
分类:
其他好文 时间:
2015-04-01 15:30:32
阅读次数:
153
题目‘?’ Matches any single character.
‘*’ Matches any sequence of characters (including the empty sequence).The matching should cover the entire input string (not partial).The function prototype should...
分类:
编程语言 时间:
2015-03-21 12:43:07
阅读次数:
190
题目链接:Set Matrix Zeroes
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.
Follow up:
Did you use extra space?
A straight forward solution using O(mn) spa...
分类:
其他好文 时间:
2015-03-20 22:00:08
阅读次数:
135
'?' Matches any single character.'*' Matches any sequence of characters (including the empty sequence).The matching should cover the entire input stri...
分类:
其他好文 时间:
2015-03-18 17:20:10
阅读次数:
112
Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.思路:不能用额外空间,就用矩阵的第一行和第一列来标记这一行或这一列是否需要置0. 用两个bool量记录第一行和第一列是否需...
分类:
其他好文 时间:
2015-03-17 17:37:25
阅读次数:
149
Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra space?A s...
分类:
其他好文 时间:
2015-03-16 14:26:38
阅读次数:
105
Set Matrix Zeroes问题:Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.思路: 用标记数组进行标记我的代码:public class Solution ....
分类:
其他好文 时间:
2015-03-12 09:47:14
阅读次数:
124
https://leetcode.com/problems/set-matrix-zeroes/Given amxnmatrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show...
分类:
其他好文 时间:
2015-03-11 14:39:51
阅读次数:
162