码迷,mamicode.com
首页 >  
搜索关键字:null    ( 33914个结果)
Java-set
setpublic interface Set extends Collection 使用集合汇总package 集合类.Set类; /** * Set不允许重复数据 * Set最多允许一个null数据 * @author jjj * */ import java.util.Enu...
分类:编程语言   时间:2015-05-17 23:05:57    阅读次数:120
javascript数据类型
要点: 1、typeof 操作符   var box=false; alert(typeof box ); 2、Undefined 类型   var box;//undefined类型 alert(box)   3、Null类型   alert(undefined==null)//undefined是派生自null的,因此它们两个相等,返回true ...
分类:编程语言   时间:2015-05-17 20:20:39    阅读次数:152
网站选修课作业(4.1)
一:创建一个新的数据库 liuyanbanCREATE DATABASE liuyanban;二:创建数据库表 messageCREATE TABLE `message` ( `id` tinyint(1) NOT NULL auto_increment, `user` varchar(25) .....
分类:Web程序   时间:2015-05-17 20:04:07    阅读次数:133
Leetcode#79Word Search
ReverseLinkedListIITotalAccepted:39279TotalSubmissions:150148MySubmissionsQuestionSolutionReversealinkedlistfrompositionmton.Doitin-placeandinone-pass.Forexample:Given1->2->3->4->5->NULL,m=2andn=4,return1->4->3->2->5->NULL.Note..
分类:其他好文   时间:2015-05-17 18:53:58    阅读次数:96
连接mysql用的JavaBean
import java.sql.*; public class MysqlBean { private Connection con = null; private ResultSet rs; private String driverName = "com.mysql.jdbc.Driver"; private String serverName = "loc...
分类:数据库   时间:2015-05-17 18:49:27    阅读次数:164
Merge Two Sorted Lists
ListNode *mergeTwoLists(ListNode *l1, ListNode *l2) { if (l1 == NULL) return l2; if (l2 == NULL) return l1; ListNode *ret = NULL; ...
分类:其他好文   时间:2015-05-17 18:34:48    阅读次数:95
实验1--用C语言编程四则运算
#include#include#include #define N 30main(){int a,b,k,i,n;float c,d;srand(time(NULL));do{printf("\n请输入数字类型(1.整数 2.小数) -1为退出程序: ");scanf("%d",&n);switc...
分类:编程语言   时间:2015-05-17 18:34:15    阅读次数:126
Path Sum
0 class Solution {11 public:12 bool dfs(TreeNode *node, int sum, int curSum)13 {14 if (node == NULL)15 return false;16 ...
分类:其他好文   时间:2015-05-17 18:31:35    阅读次数:110
Binary Tree Level Order Traversal
class Solution {public:vector > res;public:void trval(TreeNode *root,int level){if(root==NULL)return;if(level==res.size()){vector v;res.push_back(v);}...
分类:其他好文   时间:2015-05-17 18:10:38    阅读次数:92
Sum Root to Leaf Numbers
感觉我这是傻瓜似编程,不过好歹是通过了。class Solution {public:void calcSum(TreeNode* root,int tempNum){if(root->left!=NULL){calcSum(root->left,10*tempNum+root->left->val...
分类:其他好文   时间:2015-05-17 16:31:30    阅读次数:170
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!