不大懂 1、 Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its ...
分类:
其他好文 时间:
2016-03-28 18:16:45
阅读次数:
156
Given a sorted array of integers, find the starting and ending position of a given target value. Your algorithm's runtime complexity must be in the or ...
分类:
其他好文 时间:
2016-03-28 15:00:51
阅读次数:
144
I find myself coming back to the same few pictures when explaining basic machine learning concepts. Below is a list I find most illuminating. 1. Test ...
分类:
系统相关 时间:
2016-03-28 13:36:07
阅读次数:
506
1mysql版本查看进入到mysql的安装目录,在bin下找到mysql命令。执行mysql--version命令。或者直接find/-namemysql,找到mysql命令后执行mysql--version命令。2查看tomcat的版本:找到tomcat的安装目录,在bin下找到version.sh脚本,然后直接执行。如果没有version.sh脚本,可以..
分类:
数据库 时间:
2016-03-28 12:07:57
阅读次数:
286
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longes ...
分类:
其他好文 时间:
2016-03-28 11:56:00
阅读次数:
143
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo ...
分类:
其他好文 时间:
2016-03-28 10:32:52
阅读次数:
119
给出平面上一些点的坐标,统计由这些点可以组成多少个正方形。注意:正方形的边不一定平行于坐标轴。 Given S, a set of integers, find the largest d such that a + b + c = d where a, b, c, and d are distin ...
分类:
其他好文 时间:
2016-03-28 08:47:46
阅读次数:
281
#include <iostream>using namespace std; void swap(int array[], int beginPos, int endPos){ int t = array[beginPos]; array[beginPos] = array[endPos]; ar ...
分类:
其他好文 时间:
2016-03-28 08:46:49
阅读次数:
179
Given a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the BST. According to the definition of LCA on Wikipedia ...
分类:
其他好文 时间:
2016-03-28 07:03:15
阅读次数:
137
本次知识点:递归命令符,wc命令,文档编辑器 vi的简单使用,文本常用操作命令,find查询文件命令,grep匹配文本中对应的关键字 递归命令符 递归对于程序猿来说不默认,经常用于级联关系,一层套一层直达最后一层,在linux的命令中,例如 ls rm mv等等都可以递归, 只需要在后面加上-R 即 ...
分类:
Web程序 时间:
2016-03-28 01:58:24
阅读次数:
193