码迷,mamicode.com
首页 >  
搜索关键字:hide    ( 2565个结果
leetcode || 85、Maximal Rectangle
problem: Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area. Hide Tags  Array Hash Table Stack Dynamic Programmin...
分类:其他好文   时间:2015-04-14 16:40:04    阅读次数:110
单例模式-Singleton
package android.util;/** * Singleton helper class for lazily initialization. * * Modeled after frameworks/base/include/utils/Singleton.h * * @hide */p...
分类:其他好文   时间:2015-04-13 20:36:15    阅读次数:120
Jquery常用操作:checkbox、select取值,radio、checkbox、select选中及其相关
常用Jquery常用操作:checkbox取值、select取值、radio选中、checkbox选中、select选中及其相关 1、影藏页面元素使用jquery真的很方便,比如要控制div的显示与隐藏,一句话就搞定了,请看下面使用说明。 $("#id").show()表示display:block, $("#id").hide()表示display:none; $("#id").toggle()切换元素的可见状态。如果元素是可见的,切换为隐藏的;如果元素是隐藏的,切换为可见的。...
分类:Web程序   时间:2015-04-11 00:04:51    阅读次数:197
android 手动显示与隐藏软键盘HIDE_NOT_ALWAYS
1、方法一(如果输入法在窗口上已经显示,则隐藏,反之则显示) [java] view plaincopyprint? InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);   imm.toggleSoftInput(0,...
分类:移动开发   时间:2015-04-10 15:34:15    阅读次数:270
js 界面滚动方法 点击返回到顶部
functionbackTop(){jQuery(window.top.document).find("html,body").animate({scrollTop:0},300);}jQuery(window).scroll(function(){if(jQuery(window).scrollTop()>1){jQuery("#backToTop").show(200);}else{jQuery("#backToTop").hide(200);}})
分类:Web程序   时间:2015-04-09 17:48:00    阅读次数:137
[LeetCode] Convert Sorted Array to Binary Search Tree
Given an array where elements are sorted in ascending order, convert it to a height balanced BST.Hide TagsTreeDepth-first Search方法一:递归,也是dfs/** * Defi...
分类:其他好文   时间:2015-04-09 17:08:07    阅读次数:105
[Leetcode] Convert Sorted List to Binary Search Tree
Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.Hide TagsDepth-first SearchLinked List方法一...
分类:其他好文   时间:2015-04-09 16:50:31    阅读次数:144
WinExec参数说明
原文:http://www.cnblogs.com/zhwl/archive/2012/12/08/2808675.html第二个参数是控制程序主窗口的显示方式,可能的取值为 :SW_HIDE //程序启动后隐藏主窗口SW_MAXIMIZE //最大化运行SW_MINIMIZE //最小化运行SW_...
分类:Windows程序   时间:2015-04-09 07:39:53    阅读次数:152
leetcode || 70、 Climbing Stairs
problem: You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? Hide Tag...
分类:其他好文   时间:2015-04-08 13:18:01    阅读次数:117
leetcode || 69、Sqrt(x)
problem: Implement int sqrt(int x). Compute and return the square root of x. Hide Tags  Math Binary Search 题意:计算平方根,没有指定精度,默认精度为0.00001 thinking: (1)由于...
分类:其他好文   时间:2015-04-08 10:56:36    阅读次数:192
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!