码迷,mamicode.com
首页 >  
搜索关键字:find grep    ( 34568个结果
linux下常用命令备忘
转自:Linux 命令集锦linux下查看监听端口对应的进程#lsof -i:9000#lsof -Pnl +M -i4如果退格键变成了:"^h"。终端连接unix删除退格键,按住CTL键同时按deleteLinux搜索#find / -name "xxx.conf"查看linux是32位还是64位...
分类:系统相关   时间:2014-05-30 23:25:09    阅读次数:563
Longest Consecutive Sequence
Given an unsorted array of integers, find the length of the longest consecutive elements sequence.For example,Given[100, 4, 200, 1, 3, 2],The longest ...
分类:其他好文   时间:2014-05-30 16:20:32    阅读次数:229
Best Time to Buy and Sell Stock III
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:其他好文   时间:2014-05-30 16:19:05    阅读次数:320
Single Number
Given an array of integers, every element appearstwiceexcept for one. Find that single one.Note:Your algorithm should have a linear runtime complexity...
分类:其他好文   时间:2014-05-30 16:16:29    阅读次数:190
Binary Tree Maximum Path Sum
Given a binary tree, find the maximum path sum.The path may start and end at any node in the tree.For example:Given the below binary tree, 1 ...
分类:其他好文   时间:2014-05-30 16:10:54    阅读次数:185
Single Number II
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:其他好文   时间:2014-05-30 15:15:53    阅读次数:225
Maximum Depth of Binary Tree
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
Best Time to Buy and Sell Stock II
Say you have an array for which theithelement is the price of a given stock on dayi.Design an algorithm to find the maximum profit. You may complete a...
分类:其他好文   时间:2014-05-30 15:00:54    阅读次数:335
Triangle
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:其他好文   时间:2014-05-30 14:59:37    阅读次数:241
java 环境变量设置
jdk1.4之后版本不需要设置Classpath变量。 如果在Classpath变量中没有添加当前路径,即 [.](无括号),在命令行中运行java Helloworld会出现错误:Error: Could not find or load main class Helloworld这是由于指定了C...
分类:编程语言   时间:2014-05-30 14:54:11    阅读次数:331
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!