码迷,mamicode.com
首页 >  
搜索关键字:note    ( 7358个结果
【Leetcode】Largest Number
Given a list of non negative integers, arrange them such that they form the largest number. For example, given [3, 30, 34, 5, 9], the largest formed number is 9534330. Note: The result may be ve...
分类:其他好文   时间:2015-01-16 19:14:01    阅读次数:180
LeetCode--Binary Search Tree Iterator
Implement an iterator over a binary search tree (BST). Your iterator will be initialized with the root node of a BST. Calling next() will return the next smallest number in the BST. Note: next()...
分类:其他好文   时间:2015-01-16 16:50:57    阅读次数:152
[LeetCode]Valid Number
Validate if a given string is numeric. Some examples: "0" => true " 0.1 " => true "abc" => false "1 a" => false "2e10" => true Note: It is intended for the problem statement to be ambiguo...
分类:其他好文   时间:2015-01-16 16:49:43    阅读次数:153
Factorial Trailing Zeroes
Given an integern, return the number of trailing zeroes inn!.Note:Your solution should be in logarithmic time complexity.最初想法是计算里面能被5整除的数字的个数(因为能被2整除的...
分类:其他好文   时间:2015-01-16 16:25:27    阅读次数:130
WordPress后台的文章、分类,媒体,页面,评论,链接等所有信息中显示ID并将ID设置为第一列
WordPress后台默认是不显示文章、分类等信息ID的,查看起来非常不方便,不知道Wp团队出于什么原因默认不显示这个但可以使用Simply Show IDs插件来实现不使用插件,其他网友的实现:效果图:/*http://www.zhugexiaojue.com/note/liveid-387.ht...
分类:其他好文   时间:2015-01-16 16:10:57    阅读次数:298
使用scrapy制作的小说爬虫
使用scrapy制作的小说爬虫爬虫配套的django网站 https://www.zybuluo.com/xuemy268/note/63660首先是安装scrapy,在Windows下的安装比较麻烦,大家好好百度下,这里就不细说了,在ubuntu下的安装apt-get install python...
分类:其他好文   时间:2015-01-16 16:08:56    阅读次数:266
LeetCode--Multiply Strings
Given two numbers represented as strings, return multiplication of the numbers as a string. Note: The numbers can be arbitrarily large and are non-negative. class Solution { public: string mul...
分类:其他好文   时间:2015-01-16 11:25:18    阅读次数:165
Nginx搭建flv mp4流媒体服务器[转]
Nginx搭建flv mp4流媒体服务器作者:二蛋时间:December 1, 2014分类:Note环境:Centos 6.4 32bit一、安装依赖包1.安装zlibwget http://zlib.net/zlib-1.2.8.tar.gztar xzvf zlib-1.2.8.tar.gzc...
分类:其他好文   时间:2015-01-16 10:00:54    阅读次数:361
LeetCode Subsets II
Given a collection of integers that might contain duplicates,S, return all possible subsets.Note:Elements in a subset must be in non-descending order....
分类:其他好文   时间:2015-01-16 01:05:01    阅读次数:188
【leetcode】Recover Binary Search Tree
Recover Binary Search TreeTwo elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A sol...
分类:其他好文   时间:2015-01-15 23:35:43    阅读次数:164
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!