码迷,mamicode.com
首页 >  
搜索关键字:medium    ( 2358个结果
LeetCode50 Pow(x, n)
题目: Implement pow(x, n). (Medium) 分析: 实现库函数求幂运算,遍历一遍是超时的,用快速幂,就是分治的思想,每次把n去掉一半。 注意:n的取值范围,n = MIN_INT时,-n会超范围,这里WA了一次。 代码: ...
分类:其他好文   时间:2016-09-07 22:40:47    阅读次数:190
Leetcode 147. Insertion Sort List 插入排序 in Java
147. Insertion Sort List 147. Insertion Sort List Total Accepted: 80869 Total Submissions: 263074 Difficulty: Medium Sort a linked list using insertio ...
分类:编程语言   时间:2016-09-07 22:34:48    阅读次数:161
Leetcode 43. Multiply Strings
43. Multiply Strings 43. Multiply Strings Total Accepted: 72584 Total Submissions: 292967 Difficulty: Medium Given two numbers represented as strings, ...
分类:其他好文   时间:2016-09-06 21:27:58    阅读次数:124
LeetCode46,47 Permutations, Permutations II
题目: LeetCode46 I Given a collection of distinct numbers, return all possible permutations. (Medium) For example,[1,2,3] have the following permutation ...
分类:其他好文   时间:2016-09-05 23:23:51    阅读次数:241
php开发中怎么获取服务端MAC地址?
MAC(Media Access Control或者Medium Access Control)地址,意译为媒体访问控制,或称为物理地址、硬件地址,用来定义网络设备的位置。在php中如何获取MAC(Media Access Control)地址,看下面代码: 版权所有: 别安驹 本文链接: http ...
分类:Web程序   时间:2016-09-01 12:41:13    阅读次数:225
leetCode 213. House Robber II | Medium | Dynamic Programming
213.HouseRobberIINote:ThisisanextensionofHouseRobber.Afterrobbingthosehousesonthatstreet,thethiefhasfoundhimselfanewplaceforhisthieverysothathewillnotgettoomuchattention.Thistime,allhousesatthisplacearearrangedinacircle.Thatmeansthefirsthouseistheneighborof..
分类:其他好文   时间:2016-09-01 00:19:52    阅读次数:167
HTML5的新特性及技巧分享总结
原文链接:http://www.aseoe.com/show-10-645-1.html?utm_source=tuicool&utm_medium=referral 1. 新的Doctype 尽管使用<!DOCTYPE html>,即使浏览器不懂这句话也会按照标准模式去渲染 所有浏览器都支持 <! ...
分类:Web程序   时间:2016-08-31 00:17:02    阅读次数:265
如何为github上的项目添加gif效果图
一、制作gif图片 如何制作可以参考: http://www.jianshu.com/p/27ec6375b8ab?utm_campaign=maleskine&utm_content=note&utm_medium=pc_author_hots&utm_source=recommendation ...
分类:其他好文   时间:2016-08-29 15:36:58    阅读次数:123
elastic
学习链接 http://rfyiamcool.blog.51cto.com/1030776/1420811?utm_source=tuicool&utm_medium=referral ...
分类:其他好文   时间:2016-08-23 14:35:44    阅读次数:125
[译]为什么我要离开gulp和grunt转投npm脚本的怀抱
https://medium.freecodecamp.com/why-i-left-gulp-and-grunt-for-npm-scripts-3d6853dd22b8#.n7m1855uf 原文链接:https://medium.freecodecamp.com/why-i-left-gulp ...
分类:其他好文   时间:2016-08-23 11:25:56    阅读次数:205
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!