码迷,mamicode.com
首页 >  
搜索关键字:structure    ( 2775个结果
Codeforces #256 Div.2
B. Suffix Structure 1. 先判断s去掉一些元素是否能构成t,如果可以就是automaton 判断的方法也很简单,two pointer,相同元素同时++,不相同s的指针++,如果t能全找到,那么s能够去掉元素构成t。 bool f(string s, string t) { in...
分类:其他好文   时间:2014-07-22 22:44:54    阅读次数:139
swift 下标脚本
下标脚本 可以定义在类(Class)、结构体(structure)和枚举(enumeration)这些目标中,可以让这些类型的实例通过[]快速访问属性和方法. subscript(index: Int) -> Int { get { // 返回与入参匹配的Int类型的值 } ...
分类:其他好文   时间:2014-07-22 08:04:36    阅读次数:195
向网站标准看齐—建立PPT标准化设计
了解网站设计的朋友都知道,从网站概念重新构造叫响的那时起,网站规范被大量的宣传和设计者接受。所谓网站规范是将网页内容中的“构造”“表现”“行为”分别分开。网络上普通给出的定义是:网站规范不是某一个规范,而是一系列规范的汇合。网页主要由三局部组成:构造(Structure)、表现(Presentati...
分类:Web程序   时间:2014-07-21 14:37:32    阅读次数:196
laravel code bright
Project RootLet’s start by taking a look at the root folder structure.? app/? bootstrap/? vendor/? public/? .gitattributes? .gitignore? artisan? compo...
分类:其他好文   时间:2014-07-19 19:10:07    阅读次数:252
【leetcode刷题笔记】LRU Cache
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations:getandset.get(key)- Get the valu...
分类:其他好文   时间:2014-07-19 12:13:13    阅读次数:254
Android Wear - App Structure for Android Wear(应用结构)
原文地址:http://developer.android.com/design/wear/structure.html 用户习惯于点击图标来启动应用程序,但是Android Wear不一样。一个典型的Wear应用程序会在一个情境的合适时刻插入一张卡片到信息流中。这张卡片可能会包含一个用于快速交互的按钮来打开一个全屏视图(在一些情况下,卡片也可能不会提供交互按钮): 以下是简单排序...
分类:移动开发   时间:2014-07-18 22:17:37    阅读次数:349
Uva 839 Not so Mobile
Not so MobileBefore being an ubiquous communications gadget, a mobile was just a structure made of strings and wires suspending colourfull things. Th....
分类:其他好文   时间:2014-07-18 13:34:02    阅读次数:242
Uva 679 Dropping Balls
Dropping BallsA number of K balls are dropped one by one from the root of a fully binary tree structure FBT. Each time the ball being dropped first v....
分类:其他好文   时间:2014-07-18 12:14:24    阅读次数:202
weka
// remove instances with missing class Instances newData = new Instances(data); newData.deleteWithMissingClass(); m_structure = new Instance...
分类:其他好文   时间:2014-07-17 22:19:19    阅读次数:332
【leetcode刷题笔记】Recover Binary Search Tree
Two elements of a binary search tree (BST) are swapped by mistake.Recover the tree without changing its structure.Note:A solution using O(n) space is ...
分类:其他好文   时间:2014-07-17 17:32:50    阅读次数:246
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!