89. Gray CodeTotal Accepted:49119Total Submissions:142633Difficulty:MediumThe gray code is a binary numeral system where two successive values differ ...
分类:
其他好文 时间:
2015-12-20 11:36:58
阅读次数:
128
通过一条命令来搞定。Get-Mailbox-ResultSizeunlimited|Where{$_.ForwardingAddress-ne$null-or$_.ForwardSmtpAddress-ne$Null}设置用户的转发地址,只要forwardingaddress和forwaresmtpaddress两个属性不为空,说明就是指定了转发地址
分类:
系统相关 时间:
2015-12-20 02:02:16
阅读次数:
205
1.SQLSERVER 查询时,WHERE中使用时,不会把NULL值查出来。2.SQLSERVER子查询中不能使用 ORDER BY。3.SQLSERVER 使用DISTINCT时,必须把ORDER BY中的字段全SELECT出来。4.除非必要,查询时都需要在表后面使用WITH(NOLOCK),如S...
分类:
数据库 时间:
2015-12-19 16:33:18
阅读次数:
197
题目解析:(链接)Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum.For example:Given the below binary tree...
分类:
其他好文 时间:
2015-12-19 15:03:46
阅读次数:
111
题目:Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.解法一:双节点public TreeNode sortedListToBST...
分类:
其他好文 时间:
2015-12-19 06:37:24
阅读次数:
171
简单查询部分sql练习题-- 选择部门30中的全部职工select * from emp where deptno = 30;-- 列出全部业务员(CLERK)的姓名,编号,和部门编号select e.ename, e.empno, e.deptno from emp e where e.job =...
分类:
数据库 时间:
2015-12-18 22:47:13
阅读次数:
389
String hql = "select thedate,thehour,node,query_num from Cdns cdns where thehour = " +"21"; Query query = session.createQuery(hql); List list = quer.....
分类:
Web程序 时间:
2015-12-18 22:42:29
阅读次数:
472
--&变量名,&&变量名简析-----------------------------------------------------------1 set verify on;2 select * from tcpn_jodsmapping where productid = '&ProductI...
分类:
其他好文 时间:
2015-12-18 18:27:34
阅读次数:
108
// Playground - noun: a place where people can playimport UIKit//------------------------------------------------------------------------------// 1. f...
分类:
编程语言 时间:
2015-12-18 10:36:40
阅读次数:
171
Convert Sorted Array to Binary Search TreeTotal Accepted:61516Total Submissions:173462Difficulty:MediumGiven an array where elements are sorted in asc...
分类:
其他好文 时间:
2015-12-18 10:31:00
阅读次数:
123