title:
2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder.
What is the smallest positive number that is
evenly divisible by all of the nu...
分类:
其他好文 时间:
2014-06-07 01:27:37
阅读次数:
229
题目如下:
S-Trees
A Strange Tree (S-tree) over the variable set is a binary tree representing a Boolean function
.Each path of the S-tree begins at the
root node and consists ...
分类:
其他好文 时间:
2014-06-05 11:04:37
阅读次数:
248
【题目】
Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:
Integers in each row are sorted from left to right.
The first integer of each row is greater than the last integer of the previous ...
分类:
其他好文 时间:
2014-06-05 08:28:43
阅读次数:
321
【题目】
You are climbing a stair case. It takes n steps to reach to the top.
Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top?
【题意】
有个梯子有n阶,每次只能爬1阶或者2阶,为爬到梯子顶共有多少种爬法
【思路】
依次确定跳到每一阶上的爬法数目
这其实是一...
分类:
其他好文 时间:
2014-06-05 07:16:08
阅读次数:
203
原题地址:https://oj.leetcode.com/problems/candy/题意:There
areNchildren standing in a line. Each child is assigned a rating value.You are
giving candies to ...
分类:
编程语言 时间:
2014-05-31 21:58:12
阅读次数:
410
function InitTable(tableID, trName) { $(tableID
+ " tr").each(function (index, element) { if (index == 0 || index == $(tableID +
" tr").leng...
分类:
编程语言 时间:
2014-05-31 17:02:47
阅读次数:
251
function ReShowSelected(){$("#Map
area").each(function(){//定义画笔属性var canvers =
document.getElementById("diagonal");var context = canvers.getContext("2...
分类:
Web程序 时间:
2014-05-31 08:07:12
阅读次数:
256
Jump Game IIGiven an array of non-negative
integers, you are initially positioned at the first index of the array.Each
element in the array represents...
分类:
其他好文 时间:
2014-05-31 03:14:14
阅读次数:
243
本文为senlie原创,转载请保留此地址:http://blog.csdn.net/zhengsenliePopulating
Next Right Pointers in Each Node IITotal Accepted:9695Total
Submissions:32965Follow up...
分类:
其他好文 时间:
2014-05-31 02:59:18
阅读次数:
302
Problem StatementIn the Republic of Nlogonia
there are N cities. For convenience, the cities are numbered 0 through N-1. For
each two different cities...
分类:
其他好文 时间:
2014-05-31 00:47:40
阅读次数:
364