1、 通过code编号查询到值集的name名称
–取flex_value描述
FUNCTION get_flex_value_desc(p_flex_value_set_name IN VARCHAR2,–值集代码
p_flex_value IN VARCHAR2)
RETURN VARCHAR...
分类:
其他好文 时间:
2015-07-09 09:41:27
阅读次数:
479
又是一道纯数学的题, 纸上认真研究下就好。 这道题需要Inplace, 所以写了个辅助的reverse.class Solution: # @param {integer[]} nums # @return {void} Do not return anything, modify nu...
分类:
其他好文 时间:
2015-07-09 07:24:10
阅读次数:
88
这道题与 046 Permutations 基本一样, 唯一要注意的是需要去除重复的。 方法是在每一层的选数过程中如果相邻(当然是先排序了的)的数字相同,则在这一层中不再选举。class Solution: # @param {integer[]} nums # @return {int...
分类:
其他好文 时间:
2015-07-09 06:18:40
阅读次数:
121
这道题其实并没有说明这些数字互相不同, 但是因为有047 Permuations 2,则可以假定没有重复的数字, 使用递归。 代码如下class Solution: # @param {integer[]} nums # @return {integer[][]} def perm...
分类:
其他好文 时间:
2015-07-09 06:17:58
阅读次数:
103
这道题纯考数学,懒得打字解释了 方法如下from math import factorial class Solution: # @param {integer} n # @param {integer} k # @return {string} def getPermuta...
分类:
其他好文 时间:
2015-07-09 06:16:58
阅读次数:
113
题目描述
链接地址
解法题目描述Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list. ExampleGiven 1->2->3->3->4->4->5, return 1->2->5.
Given...
分类:
其他好文 时间:
2015-07-09 00:56:36
阅读次数:
127
一个月没写C++代码,现在感到好陌生
Given a sorted integer array without duplicates, return the summary of its ranges.
For example, given [0,1,2,4,5,7], return ["0->2","4->5","7"].
Credits: Special thanks to ...
分类:
其他好文 时间:
2015-07-09 00:51:28
阅读次数:
125
跳转语句:1.break;跳出的意思,如果在循环语句中使用则是跳出循环2.default,--默认语句通常与 switch case 配合使用3.continue--跳过一个,继续下一个继续return返回值异常语句:try-catch-finally保护程序,在出错的情况下也不会终止try //快...
分类:
其他好文 时间:
2015-07-09 00:47:49
阅读次数:
167
连接url:http://perfectionkills.com/javascript-quiz/* var a = (function() { return typeof arguments; })(); alert(a); //Object v...
分类:
Web程序 时间:
2015-07-09 00:32:28
阅读次数:
151
程序启动的完整过程 int main(int argc, char * argv[]){ @autoreleasepool { return UIApplicationMain(argc, argv, nil, NSStringFromClass([MJAppDelegate c...
分类:
其他好文 时间:
2015-07-09 00:24:26
阅读次数:
142