码迷,mamicode.com
首页 >  
搜索关键字:nim or not nim    ( 2819个结果
【leetcode?python】 111. Minimum Depth of Binary Tree
# Definition for a binary tree node.# class TreeNode(object):# def __init__(self, x):# self.val = x# self.left = None# self.right = Noneclass Solution ...
分类:编程语言   时间:2016-10-24 22:59:37    阅读次数:179
jQuery页面滚动监听事件及高级效果插件
jQuery页面滚动监听事件及高级效果插件 1. One Page scroll (只适用于上下焦点图)http://www.thepetedesign.com/demos/onepage_scroll_demo.html 2. Scrolld(更不好用)https://github.com/cha ...
分类:Web程序   时间:2016-10-24 20:03:05    阅读次数:175
mongoose index
1. 当应用程序启动时,Mongoose会自动为模式中的每个定义的索引调用ensureIndex。 虽然很好用于开发,但建议在生产中禁用此行为,因为索引创建可能会导致显着的性能影响。 通过将模式的autoIndex选项设置为false来禁用该行为。 Mongoose文档广泛地建议在生产中禁用auto ...
分类:其他好文   时间:2016-10-23 20:52:53    阅读次数:145
前端 head 中mate 详解
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0, minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"> 1. wi ...
分类:其他好文   时间:2016-10-23 17:22:31    阅读次数:245
Remove Invalid Parentheses
Remove the minimum number of invalid parentheses in order to make the input string valid. Return all possible results. Note: The input string may cont ...
分类:其他好文   时间:2016-10-23 11:51:21    阅读次数:149
LeetCode 292 Nim Game
Problem: You are playing the following Nim Game with your friend: There is a heap of stones on the table, each time one of you take turns to remove 1 ...
分类:其他好文   时间:2016-10-23 07:35:05    阅读次数:252
【转】CMAKE
CMAKE的使用 Version 1.0 2009-3-18 一、 基本使用 安装:下载二进制包后可直接解压使用 从源码安装则执行命令:./bootstrap; make; make install——尝试执行bootstrap失败 使用:cmake dir_path,生成工程文件或makefile ...
分类:其他好文   时间:2016-10-23 00:16:07    阅读次数:484
229. Majority Element II
Given an integer array of size n, find all elements that appear more than ? n/3 ? times. The algorithm should run in linear time and in O(1) space. Hi ...
分类:其他好文   时间:2016-10-22 14:07:12    阅读次数:143
第八十三节,CSS3动画效果
CSS3动画效果 学习要点: 1.动画简介 2.属性详解 3.简写和版本 本章主要探讨HTML5中CSS3的动画效果,可以通过类 Flash那样的关键帧模式控制运行。 一.动画简介 CSS3提供了类 Flash关键帧控制的动画效果,通过animation属性实现。 animation实现动画效果主要 ...
分类:Web程序   时间:2016-10-22 11:29:57    阅读次数:256
子类执行父类的构造方法
子类有时需要执行父类的构造方法 cat类继承了annimal类与shengwu类,在cat类的构造方法中执行了父类的构造方法super(cat,self).__init__(),所以结果: 但是,执行父类构造方法是,只是执行了annimal的__init__()方法,没有执行shegnwu的构造方法 ...
分类:其他好文   时间:2016-10-22 09:48:11    阅读次数:289
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!