自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

程序人生

踏踏实实做人,认认真真做事。

  • 博客(89)
  • 资源 (18)
  • 收藏
  • 关注

原创 CC Chapter 4 Tree and Graph --Graph

1. GraphsA tree is actually a type of graph, but not all graphs are trees. Simply put, a tree is a connected graph without cycles. A graph is simply a collection of nodes with edges between (some

2017-05-05 00:31:51 424

原创 CC chapter 4 Tree and Graphs ----Tree

1. Type of TreesA tree is a data structure composed of nodes.          Each tree has a root node.          The root node has zero or more child nodes.          Each child node has zero or more

2017-05-04 23:27:28 365

原创 SOLID

SOLID means five important software design and develop principles, it stands by S is for SRP (Single responsibility principle) - a class should have only one responsibility.O is for OC

2017-01-30 12:20:41 427

原创 Dynamical SP with Entity Framework

Finally, the issue that the dynamical Sp not working on Entity framework is fixed by putting  'SET FMTONLY OFF' in the beginning of the stored procedure. When entity framework tries to retriev

2016-12-16 03:22:16 382

转载 Class VS Structs

A short summary of each:Classes Only:Can support inheritanceAre reference (pointer) typesThe reference can be nullHave memory overhead per new instanceStructs Only:Cannot support inher

2016-09-16 14:33:28 298

转载 REST VS SOAP , WCF

RESTRESTs sweet spot is when you are exposing a public API over the internet to handle CRUD operations on data. REST is focused on accessing named resources through a single consistent interface

2016-09-16 13:33:37 372

转载 Copy database via backup and restore

When copying the database using wizard in SQL server is failed, I use the following method to copy the database successfully.--backup the databasebackup database test1 to disk='c:\test1_full.

2016-03-10 11:20:27 493

原创 【数据结构】 第一章 绪论

1.1 什么是数据结构数据结构是一门研究非数值计算的程序设计问题中计算机的操作对象以及它们之间的关系和操作等等的学科1.2 基本概念和术语数据(Data): 是对客观事物的符号表示,指能输入到计算机中并被计算机程序处理的符号的总称。数据元素(Data Element):  数据的基本单位,计算机程序中作为一个整体进行考量和处理。                     

2016-01-22 12:06:15 479

原创 [数据结构] 数据结构(C语言) 严蔚敏、吴伟民编著 - 总

一直在说要扎实自己的数据结构与算法的能力,可是到底什么是数据结构,到底什么是算法呢? 数据结构与算法有啥区别呢?突然想起来,得把最经典的数据结构(C语言) 严蔚敏、吴伟民编著的教材翻翻了。全书共有十二章。 第一章是绪论。介绍数据结构及其基本概念和术语,以及基本的算法概念。第二章到第七章是基本的数据结构。 分别是线性表、栈和队列、串、数组和广义表、树和二叉树、以及图。

2016-01-22 10:48:40 2830

原创 LeetCode Database Problems

[175] Combine Two Tables[176] Second Highest Salary[177] Nth Highest Salary[178] Rank Scores[180] Consecutive Numbers[181] Employees Earning More Than Their Managers[182] Duplica

2015-09-16 09:57:59 554

原创 Import Excel file

private void btnImportFromExcel_Click(object sender, EventArgs e) { try { string fileName = string.Empty; var openFileDialog = new Open

2015-07-22 03:26:32 889

原创 [LeetCode] Majority Element solution

Given an array of size n find the majority element.The majority element is the element that appears more than ⌊ n/2 ⌋ times.You may assume that the array is non-empty and the majority element

2015-05-22 23:39:18 425

原创 Rename the database name sql

use masterGOdeclare @oldname varchar(50) = 'LldName'declare @newname varchar(50) = 'newName'exec ('Alter database '+ @oldname+ ' set single_user')exec ('sp_renamedb ' + @oldname + ' , '+ @newna

2015-05-07 21:54:22 712

原创 Insert data into a table using table variables and cross join

Declare @SSRSreportIDTable TABLE( ID int)Declare @UserNameTable Table( username nvarchar(50))INSERT INTO @SSRSReportIDTable Select SSRSReportID FROM SSRSReport WHERE SSRSReport.[SSRSRepor

2015-04-29 22:20:23 564

原创 Get the page name in asp.net web page

this.Page.ToString().Substring(4, this.Page.ToString().Substring(4).Length - 5);Asp.net web page: xxxx.aspx

2015-01-21 04:46:25 616

原创 Computer Identifier

using System;using System.Management;using System.Security.Cryptography;using System.Security;using System.Collections;using System.Text;namespace Security{ /// /// Generates a 16 byt

2015-01-03 03:54:11 560

原创 [LeetCode] Anagrams solution

Given an array of strings, return all groups of strings that are anagrams.Nots:All in

2014-11-25 13:56:13 470

原创 [LeetCode] ZigZag Conversion

The string "PAYPALISHIRING" is written in a zigzag pattern on a given num

2014-11-24 13:32:13 422

原创 [LeetCode] Add Binary

Given two binary strings, return their sum (also a binary string).For example,a = "11"b = "1"

2014-11-18 13:31:50 864

原创 【LeetCode】 刷题计划

计划和安排之一(Linked List): http://www.meetqun.com/thread-1749-1-1.html计划和安排之二 (Two Pointers):http://meetqun.com/thread-1942-1-1.html 这个为计划和安排之三 (string) 共计33题:https://oj.leetcode.com/tag/string/

2014-11-17 14:32:05 1190

原创 [LeetCode] 3Sum Closest

Given an array of S of n integers, find three integers in S such that the sum is closest to a given number, target. Return the sum of the three integers. You may assume that each input would have exac

2014-11-17 13:50:54 620

转载 Catalan Number (卡特兰数)

1. 什么是卡特兰数

2014-11-17 08:59:25 664

原创 [LeetCode] 4Sum Solution

Given an array S of n integers, are there elements a, b, c and d in

2014-11-17 08:21:09 523

原创 [LeetCode] 3Sum Solution

Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum of zero.NotesElements in a triplet (a, b, c) mu

2014-11-16 10:07:38 497

原创 [LeetCode] Two Sum

Given an array of integers, find two numbers such that they add up to a specific target number.The function twoSum sh

2014-11-13 13:59:22 1081

原创 [LeetCode] Remove Duplicates from Sorted Array II

Follow up for "Remove Duplicates".

2014-11-12 13:50:38 402

原创 [LeetCode] Remove Duplicates from Sorted Array

Given a sorted array, remove the duplicates in place such that each element

2014-11-11 10:55:50 415

原创 [LeetCode] 计划和安排 之二

2014-11-9 到 2014-11-15类别:【Two Pointers】https://oj.leetcode.com/tag/two-pointers/[2014-11-9][LeetCode] Valid Palindrome[LeetCode] Remove Element[LeetCode] Merge Sorted Array[2014-11-10]

2014-11-10 13:13:15 944

原创 [LeetCode] Merge Sorted Array

Given Two Sorted integer array A and B, merge B into A as one sorted array.Note:You may assume that A has enough space(size that is )

2014-11-10 13:02:27 425

原创 [LeetCode] Valid Palindrome

Given a string, determine if it is a palindrome,considering only alphanumeric characters and ignoring cases.

2014-11-10 12:34:01 417

原创 [LeetCode] Remove Element

Given an array and a value, remove all instances of that value in place and return the new

2014-11-10 11:45:06 402

原创 【LeetCode】Linked List 类题目列表

本帖最后由 wbing520 于 11-2-2014 10:03 PM 编辑既然我们成立了小组(【2014刷题组】),明确了目标 (2015年1月1日前完成 leetcode). 我们就要有计划,有安排,最终实现我们的目标。LeetCode:共154题时间: 11.2 to 12. 31 共计 29 + 31 = 60 天平均154/60 = 2 到 3题。(看

2014-11-09 16:34:12 703

原创 [LeetCode] Reverse Nodes in K-Group

Given a linked list, reverse the nodes of a linked list k at a time and return its modi

2014-11-09 16:20:15 512

原创 [LeetCode Solution] Merge k sorted Lists

/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */class Solution {public: ListNode *me

2014-11-09 15:33:40 504

原创 [LeetCode] Copy List with Random Pointer

A linked list is given such that  each node contains an additional random po

2014-11-08 17:37:33 555

原创 [LeetCode] Linked List Cycle II Solution

Given a linked list, return the node where the cycle begins, if there is no cycle, return null.Follow up: could you solve it

2014-11-03 07:55:10 1061

原创 [LeetCode] Linked List Cycle

Given a linked list, deter if it has cycle in it.Follow up: can you solve it without using extra space?

2014-11-03 02:31:58 490

原创 [Leetcode] Convert Sorted List to Binary Search Tree Solution

Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.

2014-11-03 02:02:02 675

原创 Binary Search Tree

1. What is Binary Search TreeA binary search tree is a binary tree with all node in left tree

2014-10-27 05:54:49 675

原创 [LeetCode] Reverse Linked List II Solution

Reverse a linked list from position m to n, Do it in-place and in one-pass.For example: Given 1->2->3->4->5->NULL, m = 2 and n = 4return 1->4->3->2->5->NULL.Note:Given m, n satisfy the follo

2014-10-27 05:35:14 605

数据结构 - C语言- 清华大学出版

著名而且经典的数据结构算法书。 大学第一本数据结构的书,数据结构 - C语言- 清华大学出版

2014-11-03

Android_Application_Development_For_Dummies

Android_Application_Development_For_Dummies 傻瓜学习Android. 一本很好的学习Android 的书籍。。

2011-11-07

[数字图像处理].(美)Rafael.C.Gonzalez.清晰版

[数字图像处理].(美)Rafael.C.Gonzalez.清晰版. 这本书就不说了,数字图像处理,经典中的经典。必读书籍。

2011-10-09

Cocoa and Objective-C programming

Cocoa and Objective-C programming, 想学习Objecct-c 的很好的书。

2011-07-07

C#打印程序源代码.rar

C#打印程序源代码.rar C#打印程序源代码.rar C#打印程序源代码.rar

2010-06-22

Visual C#程序设计基础教程

这是学习Visual C#程序设计的很好的基础教程

2010-06-22

web网页设计基础教程与上机指导(第2版).rar

这是学习web网页设计的很好的基础教程,并配有相应的上机指导

2010-06-22

《操作系统原理及应用(Linux)》

这是一本介绍《操作系统原理及应用(Linux)》的一本很好的书籍

2010-06-22

HTML在计算机领域的应用

这是系统介绍HTML在计算机中应用的介绍,可以看看

2010-06-22

ETpaper From openU

This is some papers about IT using in education and it is published in open university in England.

2010-06-21

139套建站方案规划书

网站建站方案规划书,其中有很多很好的经典的规划书

2010-06-21

ASP.NET企业级源代码开发深入引导(useful).rar

ASP.NET企业级源代码开发深入引导(useful)

2010-06-21

Javascript 实例代码

java script时钟、浏览器 跑马灯

2010-06-21

Javascript典型应用与最佳实践

Javascript典型应用与最佳实践 还有一些具体的代码,是一个不可多得的学习Javascript的资料。

2010-06-21

Web2.0技术探源

Web2.0技术探源PPT 信息服务的作为 Web2.0与数字图书馆/语义Web Web结构 编码语言的发展 数字图书馆微观结构:KWF Microformat微格式 本体的一种实现:主题图(Topic Maps) Web 2.0技术特征 AJAX Web2.0的核心竞争力

2008-10-14

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除