题目链接 题目要求: Determine if a Sudoku is valid, according to:Sudoku Puzzles - The Rules. The Sudoku board could be partially filled, where empty cells...
分类:
其他好文 时间:
2015-06-20 17:04:20
阅读次数:
111
Given a linked list, return the node where the cycle begins. If there is no cycle, returnnull.Follow up:Can you solve it without using extra space?同Le...
分类:
其他好文 时间:
2015-06-20 00:15:40
阅读次数:
121
小结一下hibernate占位符.1.最常见的?占位符.String hql = "select a from Apple a where a.color=? a.weight>?";Query query = session.createQuery(hql);query.setParameter(...
分类:
Web程序 时间:
2015-06-19 21:34:36
阅读次数:
146
SQL字符串函数字符串函数对二进制数 据、字符串和表达式执行不同的运算。此类函数作用于CHAR、VARCHAR、BINARY、和VARBINARY数据类型以及可以隐式转换为 CHAR或VARCHAR的数据类型。可以在SELECT语句的SELECT和WHERE子句以及表达式中使用字符串函数。常用的字符...
分类:
数据库 时间:
2015-06-19 15:12:17
阅读次数:
175
procedure queryLackLonOrLatTdCell(i_region_name varchar2, i_state varchar2) isbegin select region_name, state from gc3_td_site_history where 1 =...
分类:
数据库 时间:
2015-06-19 14:56:14
阅读次数:
790
--表if exists (select * from dbo.sysobjects where id = object_id(N'[monthly_budget_work]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)drop table [month...
分类:
数据库 时间:
2015-06-18 23:57:45
阅读次数:
334
1227: Integer Game
Time Limit: 1 Sec Memory Limit:
128 MB
Submit: 9 Solved: 4
[Submit][Status][Web Board]
Description
Two players, S and T, are playing a game where they make alternate mov...
分类:
其他好文 时间:
2015-06-18 22:17:57
阅读次数:
192
//带参数的小列子 if (exists (select * from sys.objects where name = ‘proc_get_Purchasing2‘)) drop proc proc_get_student go alter proc proc_get_Purchasing2(@today int) as --declare @today int? //申...
分类:
数据库 时间:
2015-06-18 20:22:58
阅读次数:
173
查看数据库表基本信息。select * from information_schema.TABLES where information_schema.TABLES.TABLE_SCHEMA = '数据库名' and information_schema.TABLES.TABLE_NAME = '表...
分类:
数据库 时间:
2015-06-18 19:13:02
阅读次数:
141
Path Sum II
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 and sum
= 22,
5
...
分类:
其他好文 时间:
2015-06-18 17:29:24
阅读次数:
108