1. 安装图形化界面 # yum groupinstall "X Window System" -y # yum install gnome-classic-session gnome-terminal nautilus-open-terminal control-center liberation ...
分类:
其他好文 时间:
2017-02-18 09:16:54
阅读次数:
815
如何在同一个项中引用同一类库的多个版本? 在同一项目,有时会遇到要同时引一个类库多个版本的需求,例如大部分功能都是基于A 类库的1.0版本实现,现在有个特别的功能只在A类库的2.0版本才有,最好的办法是基于A库2.0版本再全部重写一下但实际情况却是,所有功能已经很稳定了,不可能为了增加一个小功能而要 ...
分类:
其他好文 时间:
2017-02-16 15:51:40
阅读次数:
206
Given a 2D binary matrix filled with 0's and 1's, find the largest square containing only 1's and return its area. For example, given the following ma ...
分类:
其他好文 时间:
2017-02-03 10:50:18
阅读次数:
149
You are given an n x n 2D matrix representing an image. Rotate the image by 90 degrees (clockwise). Follow up:Could you do this in-place? 此题可以用3*3的矩阵来 ...
分类:
其他好文 时间:
2017-02-02 15:36:03
阅读次数:
132
nmap详解Linux/Unix端口扫描工具nmap,先放个常用的参数,占位日后补全~nmap -v -p 1-65535 -sV -0 -sS -T4 192.168.1.1 ...
分类:
其他好文 时间:
2017-02-02 10:50:40
阅读次数:
145
Given an index k, return the kth row of the Pascal's triangle. For example, given k = 3,Return [1,3,3,1]. Note:Could you optimize your algorithm to us ...
分类:
其他好文 时间:
2017-02-01 11:48:03
阅读次数:
162
Follow up for "Search in Rotated Sorted Array":What if duplicates are allowed? Would this affect the run-time complexity? How and why? Suppose an arra ...
分类:
其他好文 时间:
2017-02-01 10:48:31
阅读次数:
169
Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). Find ...
分类:
其他好文 时间:
2017-02-01 10:39:26
阅读次数:
173
Say you have an array for which the ith element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may comple ...
分类:
其他好文 时间:
2017-01-31 12:56:50
阅读次数:
189
Write a function to delete a node (except the tail) in a singly linked list, given only access to that node. Supposed the linked list is 1 -> 2 -> 3 - ...
分类:
其他好文 时间:
2017-01-28 10:48:30
阅读次数:
205