问题:一只青蛙一次可以跳上1级台阶,也可以跳上2级。求该青蛙跳上一个n级的台阶总共有多少种跳法。 衍生问题:一只青...[作者空间]
1->2->3->4转换成2->1->4->3.[作者空间]
对于已排序数组的二分查找 基本思想: 先从数列中取出中值进行比对,若相等,返回中值。 若不相等,则将数组分成左右区...[作者空间]
基本思想: 先从数列中取出一个数作为基准数。 分区过程,将比这个数大的数全放到它的右边,小于或等于它的数全放到它的...[作者空间]
Write a SQL query to find all numbers that appear at leas...[作者空间]
Write a SQL query to rank scores. If there is a tie betwe...[作者空间]
Write a SQL query to get the nth highest salary from the ...[作者空间]
Write a SQL query to get the second highest salary from t...[作者空间]
Table:Person Table:Address Write a SQL query for a report...[作者空间]