档案日期2015的33

2015年8月17日 - 2015年8月23日

[LeetCode]Climbing Stairs

题目描述:

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步。爬到顶部有多少种不同的方式? ...

继续阅读

[LeetCode]Word Ladder

题目描述:

Given two words (beginWord and endWord), and a dictionary, find the length of shortest transformation sequence from beginWord to endWord, such that:

Only one letter can be changed at a time

Each intermediate word must exist in the dictionary ...

继续阅读

每日归档

上周

下周

归档