Three FamiliesThree families share a garden. They usually clean the garden together at the end of each week, but last week, family C was on holiday, s...
分类:
其他好文 时间:
2014-08-17 02:26:01
阅读次数:
264
C. Petya and SpidersLittle Petya loves training spiders. Petya has a boardn?×?min size. Each cell of the board initially has a spider sitting on it. A...
分类:
其他好文 时间:
2014-08-17 01:04:31
阅读次数:
245
Description
A common pastime for poker players at a poker table is to shuffle stacks of chips. Shuffling chips is performed by starting with two stacks of poker chips, S1 and S2, each stack contain...
分类:
其他好文 时间:
2014-08-16 23:51:21
阅读次数:
505
Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum.For example:Given the below binary tree and sum ...
分类:
其他好文 时间:
2014-08-16 22:24:21
阅读次数:
212
1,在场景运行中,每次迭代的过程中,虚拟用户对参数的取值规则(五个虚拟用户,有一个参数username,其值从1到100) 1)Sequential - each iteration (顺序-每次迭代) 每个用户的每次迭代的值顺序取,然后值都一...
分类:
其他好文 时间:
2014-08-16 19:53:01
阅读次数:
187
Description
RPG battles
In many typical RPG games, you battle with bad guys, creatures, monsters or ghosts etc. all the time. After each battle, you may get magic potions th...
分类:
其他好文 时间:
2014-08-16 13:51:30
阅读次数:
245
Description
Optimal Symmetric Paths
You have a grid of n rows and
n columns. Each of the unit squares contains a non-zero digit. You walk from the top-left square to the b...
分类:
其他好文 时间:
2014-08-16 12:36:50
阅读次数:
332
Problem Description:Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not alloca...
分类:
其他好文 时间:
2014-08-16 12:20:20
阅读次数:
129
Sum Root to Leaf NumbersGiven a binary tree containing digits from0-9only, each root-to-leaf path could represent a number.An example is the root-to-l...
分类:
其他好文 时间:
2014-08-16 00:59:09
阅读次数:
197
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.For example, given the fol...
分类:
其他好文 时间:
2014-08-15 23:47:19
阅读次数:
302