摘要:
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 cl 阅读全文
摘要:
Given a sorted linked list, delete all duplicates such that each element appear only once. 给定一个有序数组,删除其中所有重复的元素,使每个元素只出现一次~ For example,Given 1->1->2, 阅读全文
摘要:
实现针对int类型的sqrt(int x)。计算并返回x的平方根,x确定为非负整数 Implement int sqrt(int x). Compute and return the square root of x. x is guaranteed to be a non-negative int 阅读全文