码迷,mamicode.com
首页 >  
搜索关键字:empty    ( 6963个结果
[LeetCode] #36 Valid Sudoku
Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules.The Sudoku board could be partially filled, where empty cells are filled with ...
分类:其他好文   时间:2015-06-16 10:52:02    阅读次数:146
hdu3336 Count the string
Problem Description It is well known that AekdyCoin is good at string problems as well as number theory problems. When given a string s, we can write down all the non-empty prefixes of this string....
分类:其他好文   时间:2015-06-15 18:52:24    阅读次数:106
Leetcode[63]-Unique Paths II
Follow up for “Unique Paths”:Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space is marked as 1 and 0 respectively in the grid.For ex...
分类:其他好文   时间:2015-06-14 15:18:49    阅读次数:137
【LeetCode】Implement Stack using Queues 解题报告
【题目】 Implement the following operations of a stack using queues. push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.top() -- Get the top element.empty() -- R...
分类:其他好文   时间:2015-06-14 10:59:41    阅读次数:160
Length of Last Word
Description:Given a stringsconsists of upper/lower-case alphabets and empty space characters' ', return the length of last word in the string.If the l...
分类:其他好文   时间:2015-06-14 10:44:51    阅读次数:120
Intellij IDEA将工程打包成jar包并执行
打开File->ProjectStructure->Artifacts点击“+”,选择“Jar”,选择Empty或Frommoduleswithdependencies,后者会把在项目中用到的Jar包解压开,当成项目的一部分,打包到最后的Jar包中。但是这样会有一个问题,即,如果项目中引用的Jar包...
分类:编程语言   时间:2015-06-14 00:25:52    阅读次数:312
LeetCode 225: Implement Stack using Queues
Implement the following operations of a stack using queues. push(x) -- Push element x onto stack.pop() -- Removes the element on top of the stack.top() -- Get the top element.empty() -- Return whet...
分类:其他好文   时间:2015-06-13 15:42:34    阅读次数:132
PHPCMS_常用标签
title标题 {if isset($SEO['title']) && !empty($SEO['title'])}{$SEO['title']}{/if}{$SEO['site_title']}调用头部和尾部 {template "content","header"} {template "con...
分类:Web程序   时间:2015-06-12 22:12:46    阅读次数:149
[ZZ] STL 整理(map、set、vector、list、stack、queue、deque、priority_queue) .
转自深秋的落叶向量(vector)连续存储的元素Vectorc;c.back()传回最后一个数据,不检查这个数据是否存在。c.clear() 移除容器中所有数据。c.empty()判断容器是否为空。c.front() 传回地一个数据。c.pop_back() 删除最后一个数据。c.push_back...
分类:其他好文   时间:2015-06-12 19:22:29    阅读次数:189
HashMap源码解析
今天来看下HashMap源码,先从put方法入手:public V put(K key, V value) { if (table == EMPTY_TABLE) { inflateTable(threshold); } if (k...
分类:其他好文   时间:2015-06-12 18:52:10    阅读次数:88
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!