自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(17)
  • 资源 (6)
  • 收藏
  • 关注

原创 git小白操作

git常用命令

2016-05-29 21:56:32 323

原创 eclipse安装Genymotion插件

Genymotion安装后可以独立运行android模拟器,作为android开发者来说为了开发方便安装一个插件,就是把Genymotion集成到eclipse里面,通过eclipse就可以启动Genymotion模拟器。但是中途遇到一点小问题,记录一下...1、打开eclipse,在help菜单里选择install new software,就打开了一个可以安装插件的页面。2、选择“ad...

2016-05-27 23:22:34 308

原创 查找算法总结

查找算法总结查找经常进行的操作:(1)查找key是都存在于当前集合;(2)在查找集合中插入key;(3)在查找集合中删除key;静态查找:在查询集合中,查找key是否存在。动态查找:在查找过程中同时插入集合中不存在的元素;或者删除查找元素。查找算法分类:(1)静态查找算法:顺序查找,二分查找(折半查找),索引查找(分块查找);(2)动态查找算法:二叉排序树;

2016-05-16 21:02:11 429

原创 Longest Palindromic Substring

Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longest palindromic substring.题目:查找字符串中最长回文子

2016-05-09 21:36:43 653

原创 不带确认机制的UDP文件传输

不带确认机制的UDP文件传输

2016-05-06 19:54:01 1166

原创 Linked List Cycle I和II 以及扩展

Linked List Cycle I和II 以及扩展

2016-05-16 09:26:22 262

原创 Java错误No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing

最近在编写例子的时候,自己添加了一个内部类。结果编译时遇到一个小问题:No enclosing instance of type E is accessible. Must qualify the allocation with an enclosing instance of type E(e.g.  x.new A() where x is an instance of E). 错误提

2016-05-15 16:53:28 624

原创 C#遍历DataSet中数据的方法总结

DataSet存在四种情况:(1)多表多行多列 //遍历所有的datatable foreach(DataTable dt in dataset.Tables) { Console.WriteLine(dt.TableName);//表名 //遍历所有的行

2016-05-15 16:25:55 592

原创 C#控制RichTextBox滚动条的方法

网上好多都是用richTextBox的ScrollToCaret属性来做,即将控件的内容滚动到当前插入符号位置。此有弊端,有时候显示会造成,有半行数据时,滚动条未滚动最底。正确的方法:控制当前选择区域SelectionStart属性和SelectionLength属性.例如:控制滚动条始终保持在当前追加内容的在下方:richTextBox.SelectionStart = richTe

2016-05-15 16:18:00 5608

原创 Counting Bits

Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1's in their binary representation and return them as an array.Example:For num = 5

2016-05-13 17:04:07 201

原创 Java 移位运算(<<、>>、>>>)

位移运算Java位移运算主要有三种:(1)左移:vluse规则:1)丢弃最高位,低位补0;2)如果移动位数超过了该类型的最大位数,那么编译器会对移动的位数取模操作;3)在没有溢出的情况下,对于正数和负数都相当于乘2操作;4)如果移近高级位(32/64),那么该值将变为负数;(2)右移:>>vluse规则:1)丢弃低位,高位补符号位;(负数补1

2016-05-13 16:32:44 2072

原创 Subsets(Array/ Bit Manipulation )

Given a set of distinct integers, nums, return all possible subsets.Note:Elements in a subset must be in non-descending order.The solution set must not contain duplicate subsets.For

2016-05-12 17:40:35 237

原创 Integer to English Words

Convert a non-negative integer to its english words representation. Given input is guaranteed to be less than 231 - 1.For example,123 -> "One Hundred Twenty Three"12345 -> "Twelve Thousand Th

2016-05-12 14:40:09 219

原创 Longest Substring Without Repeating Characters(LeetCode)

Longest Substring Without Repeating Characters(LeetCode)

2016-05-09 17:06:22 191

原创 Valid Number(LeetCode)

Valid Number(LeetCode)

2016-05-09 16:39:37 214

原创 简单的网络心跳包实现(如何确保client在线)

简单的网络心跳包实现(如何确保client在线),客户端和服务器的网络通信关系维护

2016-05-06 19:59:59 3162

原创 Implement strStr()

LeetCode----Implement strStr()

2016-05-06 19:49:26 261

C#显示PDF内容

可以在C#窗体应用程序中显示PDF内容,比较简单方便

2014-04-04

数独建模文档

数独建模,可以使用任何语言进行开发,只要有了思路一切都能实现

2013-07-03

MySql.Data数据库连接库

MySql.Data数据库连接库 比较好用的数据库连接动态库

2013-07-03

窗体界面换肤控件

窗体界面换肤控件 是界面更美观,更加让人感觉亲切

2012-10-24

C#经典入门(第五版).pdf

C#经典入门(第五版).pdf C#的学习新生的首推荐书

2012-10-21

C#基础与案例开发详解

清华大学出版社 王国胜等人编著 C#基础与案例开发详解

2012-09-15

空空如也

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

TA关注的人

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