码迷,mamicode.com
首页 >  
搜索关键字:first firstordefault    ( 14152个结果
[ES6] 14. Generator -- 1. yield & next()
Generators in ECMAscript 6 are first-class coroutines that produce encapsulated suspended execution(暂停执行) contexts.Yield values and iterate over them ...
分类:其他好文   时间:2014-11-23 21:41:42    阅读次数:266
STM32自带的bool型变量
这些标着位会让你的程序使用起来更方便。First you need to include "STM32f10x_type.h"/*布尔型变量*/typedef enum{FALSE =0,TRUE =!FALSE} bool;/*标志位状态变量*/typedef enum{RESET=0,SET!....
分类:其他好文   时间:2014-11-23 21:31:12    阅读次数:8428
Jump Game II
Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu...
分类:其他好文   时间:2014-11-23 18:56:31    阅读次数:122
第一个汇编程序
本文将开始编写完整的汇编语言程序,用编译器将它们编译成为可执行文件(如:*.exe文件),在操作系统中运行。本文地址:http://www.cnblogs.com/archimedes/p/assembly-first-program.html,转载请注明源地址。1、一个源程序从写出到执行的过程一个...
分类:其他好文   时间:2014-11-23 18:53:59    阅读次数:241
BFS—— Breadth First Search 广度优先算法
Breadth First Search                         BFS家伙还是很有用的,特地从wiki扒了一个动态的图,来帮助感性的理解这个动态搜索的过程。 对于如下一个无权值的有向图,在进行广度优先搜索呢?这里我们的代码实现是,以节点3为入口 对于BFS的理论基础介绍,个人觉得还是看《DSAA》比较好.这里不做介绍...
分类:编程语言   时间:2014-11-23 17:38:13    阅读次数:347
c++ about SLL(Static-Link Library) and DLL(Dynamic-Link Library)
First thing first, Wiki:http://en.wikipedia.org/wiki/Dynamic-link_libraryhttp://en.wikipedia.org/wiki/Static_libraryOn Windows, SLL's file extension i...
分类:编程语言   时间:2014-11-23 17:31:11    阅读次数:201
PEP8
1、规则要求https://www.python.org/dev/peps/pep-00082、工具https://github.com/jcrocholl/pep83、基本使用方法测试自己的代码:[guosong@etch171 mars171 guosong]# pep8 --first cou...
分类:其他好文   时间:2014-11-23 17:23:17    阅读次数:161
[leetcode]First Missing Positive
问题描述: Given an unsorted integer array, find the first missing positive integer. For example, Given [1,2,0] return 3, and [3,4,-1,1] return 2. Your algorithm should run in O(n) time and uses con...
分类:其他好文   时间:2014-11-23 16:02:15    阅读次数:211
Inno Setup connection to the database and create
原文Inno Setup connection to the database and createDescription: the first half of this program in Inno Setup instance inside there, behind the database...
分类:数据库   时间:2014-11-23 12:56:02    阅读次数:264
Java数据结构系列之——队列(1):队列的顺序存储结构及其实现
package queue.sequencequeue; /** * 队列的定义:队列是只允许在一端进行插入操作,而在另外一端进行删除操作的线性表 * 队列是一种先进先出(First In First Out)的线性表,简称FIFO,允许插 * 入的一端称为队尾,允许删除的一端称为队头 * @author wl * */ public class SequenceQueue { pr...
分类:编程语言   时间:2014-11-23 09:21:48    阅读次数:199
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!