1. 问题描述 Given numRows, generate the first numRows of Pascal's triangle. For example, given numRows = 5, Return[[1],[1,1],[1,2,1],[1,3,3,1],[1,4,6,4,1] ...
分类:
其他好文 时间:
2016-09-05 23:30:03
阅读次数:
199
Given an array of strings, group anagrams together. For example, given: ["eat", "tea", "tan", "ate", "nat", "bat"], Return: Note: All inputs will be i ...
分类:
其他好文 时间:
2016-09-05 23:24:43
阅读次数:
212
题目: LeetCode46 I Given a collection of distinct numbers, return all possible permutations. (Medium) For example,[1,2,3] have the following permutation ...
分类:
其他好文 时间:
2016-09-05 23:23:51
阅读次数:
241
#include <jni.h> JNIEXPORT jstring JNICALL Java_com_example_hellojni_MainActivity_helloFromC (JNIEnv * env, jobject obj){ return (*env)->NewStringUTF( ...
分类:
其他好文 时间:
2016-09-05 23:23:02
阅读次数:
193
;(function($){ $.fn.tabso=function( options ){ var opts=$.extend({},$.fn.tabso.defaults,options ); return this.each(function(i){ var _this=$(this); va ...
分类:
其他好文 时间:
2016-09-05 20:56:26
阅读次数:
320
tips javascript(一) 实现type函数用于识别标准类型和内置对象类型,语法如下: var t = type(obj); function type(o){ if (o null) return 'null'; if (typeof o !== 'object') return typ ...
分类:
编程语言 时间:
2016-09-05 20:53:24
阅读次数:
204
public class Users { private String username; private String password; private Integer age; public String getUsername() { return username; } public vo ...
分类:
其他好文 时间:
2016-09-05 19:20:47
阅读次数:
118
Child <- many-to-one ->Parent class Child { private Parent parent; public Parent getParent (){ return this.parent;//访问了实例变量 } } class Parent { private ...
分类:
其他好文 时间:
2016-09-05 19:02:47
阅读次数:
378
1.按下方法procedure TForm2.Edit1KeyDown(Sender: TObject; var Key: Word; Shift: TShiftState);begin if Key=VK_RETURN then SelectNext(ActiveControl,true,true ...
分类:
其他好文 时间:
2016-09-05 19:01:52
阅读次数:
133
public class Users { private String username; private String password; public String getUsername() { return username; } public void setUsername(String ...
分类:
Web程序 时间:
2016-09-05 18:55:04
阅读次数:
189