码迷,mamicode.com
首页 >  
搜索关键字:maximum    ( 4142个结果
JS—触摸事件、手势事件
JS—触摸事件、手势事件 dbclick触屏设备不支持双击事件。双击浏览器窗口,会放大画面。可以通过在head标签内加上这么一行: <meta name="viewport" content="width=device-width, minimum-scale=1.0,maximum-scale=1 ...
分类:Web程序   时间:2017-07-02 20:25:45    阅读次数:234
移动端的 meta 标签
viewport content参数: width viewport 宽度(数值/device-width) height viewport 高度(数值/device-height) initial-scale 初始缩放比例 maximum-scale 最大缩放比例 minimum-scale 最小 ...
分类:移动开发   时间:2017-07-02 19:48:57    阅读次数:304
LeetCode 104. Maximum Depth of Binary Tree (二叉树的最大深度)
Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest l ...
分类:其他好文   时间:2017-07-02 10:24:30    阅读次数:111
LeetCode 5_Longest Palindromic Substring
LeetCode 5_Longest Palindromic Substring 题目描写叙述: Given a string S, find the longest palindromic substring in S. You may assume that the maximum length ...
分类:其他好文   时间:2017-07-01 20:12:24    阅读次数:162
多线程常用基础
一:进程与线程的描述: 进程:每个进程都有独立的代码和数据空间(进程上下文),进程间的切换会有较大的开销,一个进程包含1~n个线程。(进程是资源分配的最小单位) 线程:同一类线程共享代码和数据空间,每个线程有独立的运行栈和程序计数器(PC),线程切换开销小。(线程是cpu调度的最小单位) 二:实现多 ...
分类:编程语言   时间:2017-07-01 18:20:13    阅读次数:214
[Leetcode] Best time to buy and sell stock iii 买卖股票的最佳时机
Say you have an array for which the i th element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may compl ...
分类:其他好文   时间:2017-06-29 22:26:41    阅读次数:191
[LeetCode]5. Longest Palindromic Substring
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000. Example: Input: "babad" Output: "b ...
分类:其他好文   时间:2017-06-29 09:56:52    阅读次数:197
Lintcode42 Maximum Subarray II solution 题解
【题目描述】Givenanarrayofintegers,findtwonon-overlappingsubarrayswhichhavethelargestsum.Thenumberineachsubarrayshouldbecontiguous.Returnthelargestsum.Notice:Thesubarrayshouldcontainatleastonenumber给定一个整数数组,找出两个不重叠子数组使得它们的和最大。每..
分类:其他好文   时间:2017-06-29 00:58:48    阅读次数:134
Van Emde Boas Tree
van Emde Boas trees 支持所有优先级优先级队列的操作,并且巧妙的是它对于SEARCH, INSERT,DELETE,MINIMUM,MAXMUN,SUCCESSOR,和PREDECESSOR这些操作的支持都在最坏复 杂度O(lglgn)之内。不过有些限制的是,所有的Kye值都必须在 ...
分类:其他好文   时间:2017-06-28 21:53:14    阅读次数:170
日历 java方法实现
package ppt11util类; import java.util.Calendar; public class TprintCalendar { public static void main(String[] args) { printCalendar(2017,6); } public ... ...
分类:编程语言   时间:2017-06-28 18:42:38    阅读次数:180
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!