码迷,mamicode.com
首页 >  
搜索关键字:definition    ( 2735个结果
t-sql 笔记
1.查询哪些数据库对象使用了某个表SELECT b.[name], a.[definition]FROM sys.all_sql_modules a, sysobjects bWHERE a.[object_id] = id AND definition LIKE '%表名%'2.查询表的某一列,将...
分类:数据库   时间:2014-10-28 09:20:31    阅读次数:213
leetcode Minimum Depth of Binary Tree
1,关于递归还是要有时间就练习,又有些生疏了/** * Definition for binary tree * public class TreeNode { * int val; * TreeNode left; * TreeNode right; * TreeN...
分类:其他好文   时间:2014-10-28 07:02:47    阅读次数:141
LeetCode - Linked List Cycle
判断一个链表是否为循环链表。 1 /** 2 * Definition for singly-linked list. 3 * struct ListNode { 4 * int val; 5 * ListNode *next; 6 * ListNode(int x...
分类:其他好文   时间:2014-10-27 22:49:16    阅读次数:154
Binary Tree Preorder Traversal
递归实现(python):# Definition for a binary tree nodeclass TreeNode: def __init__(self, x): self.val = x self.left = None self...
分类:其他好文   时间:2014-10-27 17:21:37    阅读次数:125
[Leetcode] Convert Sorted Array to Binary Search Tree
Given an array where elements are sorted in ascending order, convert it to a height balanced BST.Solution:/** * Definition for binary tree * public cl...
分类:其他好文   时间:2014-10-27 06:51:31    阅读次数:137
Remove Nth Node From End of List
需要额外添加两个相距为n的节点,遍历一遍之后就可以得到结果。/** * Definition for singly-linked list. * public class ListNode { * int val; * ListNode next; * ListNode(in...
分类:其他好文   时间:2014-10-27 00:21:55    阅读次数:275
LeetCode-Sort List
Sort a linked list inO(nlogn) time using constant space complexity.链表排序。要达到nlogn的时间复杂度,能想到归并排序与快速排序。这里采用归并排序: 1 /** 2 * Definition for singly-linked ....
分类:其他好文   时间:2014-10-26 10:17:34    阅读次数:186
POJ 2955 Brackets
传送门@百度BracketsTime Limit: 1000MSMemory Limit: 65536KDescriptionWe give the following inductive definition of a “regular brackets” sequence:the empty s...
分类:其他好文   时间:2014-10-24 20:44:58    阅读次数:336
LeetCode 148 Sort List
Sort a linked list in O(n log n) time using constant space complexity. 思路:要想时间复杂度达到O(n log n) ,那么有两种,一种是合并排序,另一种是快速排序,而要想空间复杂度为常数,那么只能使用递归,本人使用的是递归的合并排序,代码如下: /** * Definition for s...
分类:其他好文   时间:2014-10-22 12:55:55    阅读次数:200
Could not load file or assembly ‘xxx’ or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.
在写aspx web application时,我们有时会遇到这个问题。很多情况都是由于在线安装的Package引起的。系统尝试去找某一个version的dll,但是你却更新了最新的Package,造成不兼容。解决办法就是检查web.config里如下类似的代码,并手动指定version,并安装或加...
分类:其他好文   时间:2014-10-22 00:52:02    阅读次数:214
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!