自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

李瑞远-时空数据

www.kangry.net/blog/

  • 博客(25)
  • 资源 (23)
  • 收藏
  • 关注

原创 [LeetCode] Search in Rotated Sorted Array II

Search in Rotated Sorted Array IIFollow up for "Search in Rotated Sorted Array":What if duplicates are allowed?Would this affect the run-time complexity? How and why?Write a function t

2015-07-31 18:29:16 559

原创 [LeetCode] Remove Duplicates from Sorted Array II

Remove Duplicates from Sorted Array IIFollow up for "Remove Duplicates":What if duplicates are allowed at most twice?For example,Given sorted array nums = [1,1,1,2,2,3],Your function

2015-07-30 14:49:39 602

原创 [LeetCode] Word Search

Word SearchGiven a 2D board and a word, find if the word exists in the grid.The word can be constructed from letters of sequentially adjacent cell, where "adjacent" cells are those horizonta

2015-07-30 13:57:16 682

原创 [LeetCode] Combinations

CombinationsGiven two integers n and k, return all possible combinations of k numbers out of 1 ... n.For example,If n = 4 and k = 2, a solution is:[ [2,4], [3,4], [2,3], [1,2],

2015-07-29 17:15:59 612

原创 [LeetCode] Set Matrix Zeroes

Set Matrix ZeroesGiven a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place.click to show follow up.Follow up:Did you use extra space?A straight for

2015-07-29 16:32:44 724

原创 [LeetCode] Minimum Path Sum

Minimum Path SumGiven a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers along its path.Note: You can only move e

2015-07-28 17:14:20 599

原创 [LeetCode] Simplify Path

Simplify PathGiven an absolute path for a file (Unix-style), simplify it.For example,path = "/home/", => "/home"path = "/a/./b/../../c/", => "/c"click to show corner cases.Corn

2015-07-28 15:24:05 516

原创 [LeetCode] Unique Paths II

Unique Paths IIFollow up for "Unique Paths":Now consider if some obstacles are added to the grids. How many unique paths would there be?An obstacle and empty space is marked as 1 and 0 r

2015-07-28 14:07:23 554

原创 [LeetCode] Sqrt(x)

Sqrt(x)Implement int sqrt(int x).Compute and return the square root of x.解题思路:这道题是求x的平方根。解法1:基本的想法就是枚举,从1到n进行遍历,直到result*result>x,那么结果就是result-1。class Solution {public: int

2015-07-27 21:34:05 820

原创 [LeetCode] Unique Paths

Unique PathsA robot is located at the top-left corner of a m x n grid (marked 'Start' in the diagram below).The robot can only move either down or right at any point in time. The robot is tr

2015-07-27 19:45:48 595

原创 [LeetCode] Maximal Square

Maximal SquareGiven a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area.For example, given the following matrix:1 0 1 0 01 0 1 1 11

2015-07-27 14:39:36 818

原创 [LeetCode] Majority Element II

Majority Element IIGiven an integer array of size n, find all elements that appear more than ⌊ n/3 ⌋ times. The algorithm should run in linear time and in O(1) space. 解题思路:此前做了一道题目,返回主要元

2015-07-27 11:47:09 745

原创 [LeetCode] Kth Smallest Element in a BST

Kth Smallest Element in a BSTGiven a binary search tree, write a function kthSmallestto find the kth smallest element in it.Note: You may assume k is always valid, 1 ≤ k ≤ BST's total elem

2015-07-26 14:28:51 1029

原创 [LeetCode] Palindrome Linked List

Palindrome Linked ListGiven a singly linked list, determine if it is a palindrome.Follow up:Could you do it in O(n) time and O(1) space? 解题思路:此题的题意为判断单向链表是否为回文。难点就是链表不能随机存取,而且不能反

2015-07-26 10:31:58 896

原创 [LeetCode] Lowest Common Ancestor of a Binary Tree

Lowest Common Ancestor of a Binary Tree Given a binary tree, find the lowest common ancestor (LCA) of two given nodes in the tree.According to the definition of LCA on Wikipedia: “The lowest

2015-07-25 18:57:56 1031

原创 [LeetCode] Lowest Common Ancestor of a Binary Search Tree

Lowest Common Ancestor of a Binary Search TreeGiven a binary search tree (BST), find the lowest common ancestor (LCA) of two given nodes in the BST.According to the definition of LCA on Wikipe

2015-07-24 16:56:54 1651

原创 [LeetCode] Product of Array Except Self

Product of Array Except SelfGiven an array of n integers where n > 1, nums, return an array output such that output[i] is equal to the product of all the elements of nums except nums[i].

2015-07-24 16:21:14 1012

原创 [LeetCode] Delete Node in a Linked List

Delete Node in a Linked ListWrite a function to delete a node (except the tail) in a singly linked list, given only access to that node.Supposed the linked list is 1 -> 2 -> 3 -> 4 and you a

2015-07-24 14:11:11 1206

原创 [LeetCode] Search a 2D Matrix II

Search a 2D Matrix IIWrite an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following properties:Integers in each row are sorted in ascending from lef

2015-07-24 13:06:18 1247

原创 vs2013创建、安装、调试Windows Service程序

Windows服务以服务的形式运行,有些情况下非常有用。用VS2013创建windows服务的过程如下:创建服务。1、文件-》新建-》项目-》windows桌面-》windows服务,修改你要的项目名称。

2015-07-10 14:49:10 4373 1

原创 [LeetCode] Implement Queue using Stacks

Implement Queue using StacksImplement the following operations of a queue using stacks.push(x) -- Push element x to the back of queue.pop() -- Removes the element from in front of queue.peek()

2015-07-08 21:13:35 2035

原创 [LeetCode] Summary Ranges

Summary RangesGiven a sorted integer array without duplicates, return the summary of its ranges.For example, given [0,1,2,4,5,7], return ["0->2","4->5","7"].Credits:Special thanks to @

2015-07-06 18:45:01 1335 1

原创 [LeetCode] Power of Two

Power of TwoGiven an integer, write a function to determine if it is a power of two.Credits:Special thanks to @jianchao.li.fighter for adding this problem and creating all test cases.解

2015-07-06 13:26:05 1851 2

原创 molebox launcher fatal (could not open boxfile)

运行一个exe程序,弹出以下框:可能是系统的环境设置问题。你的文件中的路径包括中文,但是你的系统可能是英文的。按教程http://www.kangry.net/blog/?type=article&article_id=40操作重启电脑即可。转载请注明:康瑞的部落 » molebox launcher fatal (could not open boxfile)

2015-07-04 22:33:53 11464

原创 通过文件对比工具Merge数据库

项目分成线下开发版、线上测试版、线上生产版,因此对应有三个数据库。对于一些静态数据,常常需要同步。修改了线下的开发版本,同时也需要更新线上的测试版和线上生产版数据库,有时候线上的一些数据库修改,也要体现在线下来。这是双向的关系,因此不能简单的将一个数据库覆盖另外一个数据库。现在介绍一种数据合并方法。环境:SQL Server Management Studio,Window 8.1

2015-07-01 14:22:07 1818

ueditor for bos

百度富文本编辑器ueditor上传文件到对象存储BOS中,具体使用方法见http://blog.csdn.net/kangrydotnet/article/details/49331713

2015-10-22

jquery.gantt,js甘特图

JQuery.Gantt是一个开源的基于JQuery库的用于实现甘特图效果的可扩展功能的JS组件库。它既可以图形化行程安排,也可以展示数据分布。使用方法:http://blog.csdn.net/kangrydotnet/article/details/42265539

2014-12-30

Json格式浏览器

json格式规范的显示,呈树状显示出来,一目了然。

2014-10-22

PDF解密工具

PDF解密工具,让加密的PDF能够编写,打印。本人亲测,能够用。

2014-10-22

c#汉字转拼音dll

1、下载dll文件,加入项目引用 2、引入命名空间: using NPinyin; 3、方法: Pinyin.GetPinyin("中文"); 其他方法自己试试便知道哒 对应博文:http://www.kangry.net/blog/?type=article&article_id=57

2014-09-21

zend safeguard 加密php 破解版

下载后,其接下来的步骤如下: 1、安装ZendSafeGuard-Evaluation-3.6.0-Windows-i386.exe 2、将ZendOptimizer-3.3.3文件夹直接拷贝到php的ext 文件夹下面 3、修改php.ini 加上: [Zend] zend_extension_ts = "D:\softBox\AppServ\php5\ext\ZendOptimizer-3.3.3\ZendExtensionManager.dll" ;根据实际路径修改 zend_extension_manager.optimizer_ts="D:\softBox\ZendOptimizer-3.3.0\lib\Optimizer-3.3.0" ;根据实际路径修改 详细使用方法见博客:http://blog.csdn.net/kangrydotnet/article/details/21121877

2014-03-12

ueditor上传到bcs中

近期在做一个个人博客,用到了百度的富文本编辑器ueditor。博客是架在了bae中的。在测试的时候发现,上传的图片有时候不会或者是间接性地不会显现出来,特别诡异的是,我用ie内核的浏览器(比如360、ie、搜狗等)访问时与chrome和ff访问的结果不一样,即:有些图片在ie内核浏览器能够显示出来,在chrome或者ff中不能显示,反过来,有些图片能够在chrome或者ff中显示,但是在ie内核浏览器中不能显示。纠结于此,修改ueditor源代码,弄了一天,终于搞定了。本人拟详细记录如何实现通过ueditor上传文件到bcs中的步骤,所用到的ueditor是当前最新的版本:ueditor1_3_5,编程语言是php,搭建在百度开放云平台2.0中。

2014-01-05

mysql-connector for C/C++

截止资源上传时间最新的mysql connector,里面包含了c/c++ for linux 32bit or 64bit、c/c++ for windows 32bit的mysql connector

2013-10-24

coreseek4.1 支持多音字拼音索引第三版

Coreseek 是一款中文全文检索/搜索软件,以GPLv2许可协议开源发布,基于Sphinx研发并独立发布,专攻中文搜索和信息处理领域,适用于行业/垂直搜索、论坛/站内搜索、数据库搜索、文档/文献检索、信息检索、数据挖掘等应用场景。我们不仅可以免费下载使用,也可以对其提供的源代码进行修改,使其更符合我们的搜索要求。 本人在此基础上加上了拼音索引。具体使用方法见我的博客。http://blog.csdn.net/kangrydotnet/article/details/10829291。此为win64编译程序(3版)。

2013-09-19

coreseek4.1 支持多音字拼音索引 win64

Coreseek 是一款中文全文检索/搜索软件,以GPLv2许可协议开源发布,基于Sphinx研发并独立发布,专攻中文搜索和信息处理领域,适用于行业/垂直搜索、论坛/站内搜索、数据库搜索、文档/文献检索、信息检索、数据挖掘等应用场景。我们不仅可以免费下载使用,也可以对其提供的源代码进行修改,使其更符合我们的搜索要求。 本人在此基础上加上了拼音索引。具体使用方法见我的博客。http://blog.csdn.net/kangrydotnet/article/details/10829291。此为win64编译程序(2版,支持utf-8多音字,解决了一个内存泄露的bug)。win32(1版)下载地址:http://download.csdn.net/detail/wangshaner1/6192947

2013-09-03

coreseek4.1 支持拼音索引 win32

Coreseek 是一款中文全文检索/搜索软件,以GPLv2许可协议开源发布,基于Sphinx研发并独立发布,专攻中文搜索和信息处理领域,适用于行业/垂直搜索、论坛/站内搜索、数据库搜索、文档/文献检索、信息检索、数据挖掘等应用场景。我们不仅可以免费下载使用,也可以对其提供的源代码进行修改,使其更符合我们的搜索要求。 本人在此基础上加上了拼音索引。具体使用方法见我的博客。http://blog.csdn.net/kangrydotnet/article/details/10829291。此为win32编译程序。

2013-09-01

武汉大学计算机学院编译原理历年试卷

武汉大学 编译原理 计算机学院 试卷 武大

2012-01-04

武汉大学计算机学院历年考试试卷

武汉大学计算机学院历年考试试卷

2012-01-04

武汉大学计算机学院算法课件

这是武汉大学计算机学院算法课件。全英文的。请注意啊。上课老师也是用英文的ppt

2012-01-04

opengl 迷宫 交互

opengl 迷宫 交互

2011-12-27

opengl雪花koch

opengl雪花kochopengl雪花koch

2011-12-26

基于opengl mfc 的地球程序

基于opengl mfc 的地球程序基于opengl mfc 的地球程序

2011-12-26

[PHP.手册.官方中文版].php_manual_zh

刚刚下了一个别人的手册,发现自己被骗了,这个是我花了好久才找到的。里面的只是很全,还对各种函数分了类。相信你值得拥有。

2011-11-19

QQwry纯真数据库

可以根据IP查询到IP物理地址。其编码是gb2312,编写网站时如果出现乱码,可以先进行编码转换。

2011-08-27

java模拟腾讯qq,实现其基本功能-源码

这是一个模拟腾讯qq的java软件。大家可以参考一下。目前是1.0版,如果有什么问题请联系作者。

2011-06-12

java通信参考程序

这是一个java通信的实验程序。我们的java上机实验就要求我们做的。大家可以参考一下

2011-05-14

java通信程序参考

这是我们的一个作业。主要是通过socket来实现两个文件的通信。

2011-05-14

汇编语言编辑器 适于初学者

个人认为还不错,分享一下。一款功能使用的汇编编辑器

2011-04-18

空空如也

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

TA关注的人

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