上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 35 下一页
Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum pro Read More
posted @ 2016-05-20 23:45 godjob Views(163) Comments(0) Diggs(0)
Rotate an array of n elements to the right by k steps. For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2,3,4]. Not Read More
posted @ 2016-05-17 23:09 godjob Views(262) Comments(0) Diggs(0)
Write a function that takes a string as input and reverse only the vowels of a string. Example 1: Given s = "hello", return "holle". Example 2: Given Read More
posted @ 2016-05-16 21:50 godjob Views(263) Comments(0) Diggs(0)
Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1’s in their binary representation and r Read More
posted @ 2016-05-14 14:39 godjob Views(222) Comments(0) Diggs(0)
题目描述: Given a non-empty array of integers, return the k most frequent elements. For example, Given [1,1,1,2,2,3] and k = 2, return [1,2]. Note: You ma Read More
posted @ 2016-05-13 22:42 godjob Views(215) Comments(0) Diggs(0)
Linux中find常见用法示例 ·find path -option [ -print ] [ -exec -ok command ] {} \; find命令的参数; pathname: find命令所查找的目录路径。例如用.来表示当前目录,用/来表示系统根目录。-print: find命令将匹 Read More
posted @ 2016-05-05 10:33 godjob Views(304) Comments(0) Diggs(0)
libevent 网络IO分析 Table of Contents 1. 简介 2. 简单使用与入门 2.1. 定时器-timeout 超时回调 2.2. 信号事件 2.3. 读取 socket 3. 操作系统 I/O 模型封装 4. 源码分析-基本功能 4.1. 超时机制-对 timeout 例子 Read More
posted @ 2016-04-23 12:59 godjob Views(1096) Comments(0) Diggs(0)
This page is meant to be a central repository of decorator code pieces, whether useful or not <wink>. It is NOT a page to discuss decorator syntax! Fe Read More
posted @ 2016-04-22 16:05 godjob Views(952) Comments(0) Diggs(0)
0x1 ,安装 0x2 , 调整时间到2038年。 0x3 ,申请30天试用 0x4, 退出pycharm 0x5, 时间调整回来。 ##注册方法2### 注册方法: 在 注册时选择 License server ,填 http://idea.lanyus.com ,然后点击 OK Read More
posted @ 2016-04-21 20:29 godjob Views(231) Comments(0) Diggs(0)
邮箱: Soar360@live.com 授权秘钥: GBPduHjWfJU1mZqcPM3BikjYKF6xKhlKIys3i1MU2eJHqWGImDHzWdD6xhMNLGVpbP2M5SN6bnxn2kSE8qHqNY5QaaRxmO3YSMHxlv2EYpjdwLcPwfeTG7kUdnh Read More
posted @ 2016-04-20 22:42 godjob Views(227) Comments(0) Diggs(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 35 下一页