1. Given an array of integers, return indices of the two numbers such that they add up to a specific target. 问题: 1.数组是否有序 2. 数组排序 方法1:O(n^2) 2. Two su ...
分类:
其他好文 时间:
2016-07-19 09:36:44
阅读次数:
101
leetcode的第一题,two sum: Given an array of integers, return indices of the two numbers such that they add up to a specific target. You may assume that ea ...
分类:
其他好文 时间:
2016-07-19 09:22:53
阅读次数:
330
环境win764bit
VMworkstation10
CentOS7
NAT模式访问网络,所有虚拟机都配置在同一个网段内即192.168.0.1~192.168.0.2542.查看并修改默认配置在此之前,我们需要对默认的配置文件及网卡名进行修改,操作如下:
①ipa
#可以看到有两个网卡,一个lo【up】一个ifcfg-eno16777736【..
分类:
其他好文 时间:
2016-07-18 05:41:54
阅读次数:
186
环境win764bit
VMworkstation10
CentOS7
NAT模式访问网络,所有虚拟机都配置在同一个网段内即192.168.0.1~192.168.0.2542.查看并修改默认配置在此之前,我们需要对默认的配置文件及网卡名进行修改,操作如下:
①ipa
#可以看到有两个网卡,一个lo【up】一个ifcfg-eno16777736【..
分类:
其他好文 时间:
2016-07-18 05:40:32
阅读次数:
145
L - Sum It Up Time Limit:1000MS Memory Limit:10000KB 64bit IO Format:%I64d & %I64u Submit Status L - Sum It Up Submit Status Description Given a speci ...
分类:
其他好文 时间:
2016-07-16 20:35:01
阅读次数:
203
1 ifconfig命令 格式:ifconfig {inerface} {options} options参数有:up,down,mtu,netmask,broadcast 单独ifconfig命令:查看网络所有端口; 范例1:ifconfig eth0 192.168.1.0 netmask 25 ...
分类:
系统相关 时间:
2016-07-16 20:16:03
阅读次数:
262
Let it go.Let it be.Keep it up! ...
分类:
其他好文 时间:
2016-07-16 00:46:47
阅读次数:
126
Follow up for "Find Minimum in Rotated Sorted Array":What if duplicates are allowed? Would this affect the run-time complexity? How and why? Suppose a ...
分类:
其他好文 时间:
2016-07-16 00:09:01
阅读次数:
207
Time Limit: 3 second
Memory Limit: 2 MB
【问题描述】
John是某部门的工作人员,为提升安全等级,该部门的密码键盘是特殊设计的,键盘上没有数字按键, 而只有六个按键:
Up,Down,Left,Right,Sw0,Sw1,定义录入区域的六个位置的编号,从左至右依次为1,2,3,4,5,6。下面列出每个键的作用:
Sw0:按Sw0,光标位...
分类:
其他好文 时间:
2016-07-15 11:05:14
阅读次数:
192
1. 问题描述 Given an integer, write a function to determine if it is a power of three.Follow up:Could you do it without using any loop / recursion?Tags: M ...
分类:
其他好文 时间:
2016-07-15 00:37:20
阅读次数:
123