码迷,mamicode.com
首页 >  
搜索关键字:one    ( 27922个结果
POJ 3221 Diamond Puzzle
Description A diamond puzzle is played on a tessellated hexagon like the one shown in Figure 1 below. And in this problem the faces produced by the tessellation are identified as they are numbered ...
分类:其他好文   时间:2014-08-07 23:03:25    阅读次数:348
[leetcode]Single Number II
Single Number IIGiven an array of integers, every element appearsthreetimes except for one. Find that single one.Note:Your algorithm should have a lin...
分类:其他好文   时间:2014-08-07 23:00:14    阅读次数:275
POJ3207-Ikki's Story IV - Panda's Trick(2-SAT)
Ikki's Story IV - Panda's Trick Time Limit: 1000MS   Memory Limit: 131072K Total Submissions: 7841   Accepted: 2900 Description liympanda, one of Ikki’s friend, likes p...
分类:其他好文   时间:2014-08-07 19:16:01    阅读次数:316
【LeetCode】Reverse Linked List II
Reverse a linked list from position m to n. Do it in-place and in one-pass. For example: Given 1->2->3->4->5->NULL, m = 2 and n = 4, return 1->4->3->2->5->NULL. Note: Given m, n satisfy t...
分类:其他好文   时间:2014-08-07 19:02:50    阅读次数:251
HDU 4925 Apple Tree
Problem Description I’ve bought an orchard and decide to plant some apple trees on it. The orchard seems like an N * M two-dimensional map. In each grid, I can either plant an apple tree to get one a...
分类:移动开发   时间:2014-08-07 18:59:10    阅读次数:293
POJ2723-Get Luffy Out(2-SAT)
Get Luffy Out Time Limit: 2000MS   Memory Limit: 65536K Total Submissions: 7456   Accepted: 2835 Description Ratish is a young man who always dreams of being a hero. One ...
分类:其他好文   时间:2014-08-07 18:55:20    阅读次数:286
Transposed Matrix
Transposed MatrixIn linear algebra, the transpose of a matrixAis another matrixAT(also writtenA′,Atr,tAorAt) created by any one of the following equiv...
分类:其他好文   时间:2014-08-07 18:52:40    阅读次数:242
Scramble String leetcode java
题目:Given a string s1, we may represent it as a binary tree by partitioning it to two non-empty substrings recursively.Below is one possible represent....
分类:编程语言   时间:2014-08-07 05:11:29    阅读次数:334
Optimizing concurrent accesses in a directory-based coherency protocol
In one embodiment, the present invention includes a directory to aid in maintaining control of a cache coherency protocol. The directory can be couple...
分类:数据库   时间:2014-08-07 00:42:27    阅读次数:496
Plus One
问题:数组模拟整数加1class Solution {public: vector plusOne(vector &digits) { int i,k=0; int a[100]; for(i=digits.size()-1;i>=0;i--) ...
分类:其他好文   时间:2014-08-06 22:20:12    阅读次数:187
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!