码迷,mamicode.com
首页 >  
搜索关键字:note    ( 7358个结果
Single Number
Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should have a linear runtime compl....
分类:其他好文   时间:2014-09-18 23:33:14    阅读次数:292
前端MVC BingoJS
原文地址:http://note.youdao.com/share/?id=1795bbada89069e04d434585d02c38fd&type=note如果有兴趣研究, 讨论同学, 可以留下QQ, 一块学习
分类:Web程序   时间:2014-09-18 23:31:04    阅读次数:310
error: 'for' loop initial declarations are only allowed in C99 mode
error: 'for' loop initial declarations are only allowed in C99 mode 使用gcc编译代码是报出 error: 'for' loop initial declarations are only allowed in C99 mode note: use option -std=c99 or -std=gnu99 to...
分类:其他好文   时间:2014-09-18 14:55:17    阅读次数:241
css 选择器
css选择有十种方式:元素选择器、类选择器、ID选择器、选择器分组、属性选择器、子元素选择器、后代选择器、相邻兄弟元素选择器、伪元素、伪类。元素选择器。文档的元素就是最基本的选择器。如:html {color:black;}、note{font-family:Verdana, Arial;}(xml...
分类:Web程序   时间:2014-09-18 11:10:33    阅读次数:332
Leetcode_num1_Single Number
好久没有做题啦,从今天开始刷Leetcode的题,希望坚持的时间能长一点。先从ac率最高的Single Number开始吧。 题目: Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm should hav...
分类:其他好文   时间:2014-09-17 20:30:53    阅读次数:254
Subsets <leetcode>
Given a set of distinct integers,S, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set must not co...
分类:其他好文   时间:2014-09-17 11:35:22    阅读次数:186
Leetcode: Construct Binary Tree from Preorder and Inorder Transversal
Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.难度:95,参考了网上的思路。...
分类:其他好文   时间:2014-09-16 12:09:00    阅读次数:174
[LeetCode系列] 变序词查找问题(Anagrams)
给定一系列词, 找出其中所有的变序词组合.Note: 变序词 - 组成字符完全相同但次序不同的单词. 如dog和god, ate和eat.算法描述: 使用map >存储所有的结果. 最后将map中size > 1的vector插入到结果中.代码: 1 class Solution { 2 publi...
分类:其他好文   时间:2014-09-15 19:21:29    阅读次数:231
Single Number II
Given an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a linear runtime comp...
分类:其他好文   时间:2014-09-13 20:06:45    阅读次数:155
Binary Tree Inorder Traversal
Given a binary tree, return theinordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,3,2].Note...
分类:其他好文   时间:2014-09-13 20:01:35    阅读次数:185
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!