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? ...
分类:
其他好文 时间:
2016-11-22 12:18:38
阅读次数:
140
cat /etc/network/iptables.up.rules ...
分类:
系统相关 时间:
2016-11-21 12:38:57
阅读次数:
310
自己装的电脑,装的系统,全新的电脑,感觉用着好奇怪,打开eclipse发现ctrl+alt+up发现是win10自带的快捷键,关闭方法: youjian->图形选项->快捷键->禁用 旧电脑没有禁用,但是eclipse中可以使用,应该是吧win10快捷键的优先级弄得比较低了,有空再回来弄哦, ...
#1. 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 each input w ...
分类:
其他好文 时间:
2016-11-20 18:36:12
阅读次数:
183
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-11-19 15:43:55
阅读次数:
152
Given a singly linked list, determine if it is a palindrome. Follow up: Could you do it in O(n) time and O(1) space? Solution 1 (loop through and use ...
分类:
其他好文 时间:
2016-11-19 07:58:31
阅读次数:
207
2 days passed, and I finally find it done with samba server.. with utube to set up a samba server: 1. install samba; 2. add /etc/samba/smb.conf to the ...
分类:
其他好文 时间:
2016-11-18 21:36:10
阅读次数:
136
1.1功能说明配置以及查看网络接口1.2语法格式ifconfig[网络设备][参数]注意:使用ifconfig修改的参数,重启系统后会恢复修改前的配置,若需要永久生效配置,还需修改系统文件的参数。参数简解up启用down关闭-s显示摘要信息(类似于netstat-i)-a显示全部接口信息1.3实践操作实..
分类:
其他好文 时间:
2016-11-18 19:41:03
阅读次数:
230
1.1功能说明配置以及查看网络接口1.2语法格式ifconfig[网络设备][参数]注意:使用ifconfig修改的参数,重启系统后会恢复修改前的配置,若需要永久生效配置,还需修改系统文件的参数。参数简解up启用down关闭-s显示摘要信息(类似于netstat-i)-a显示全部接口信息1.3实践操作实..
分类:
其他好文 时间:
2016-11-18 19:39:23
阅读次数:
210
"Hey, Dad, welcome home." hey爸爸,欢迎回家。 "Thanks." He hung up his gun belt and stepped out of his boots as I bustled about the kitchen. As far as I was a ...
分类:
其他好文 时间:
2016-11-18 18:26:45
阅读次数:
205