自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(13)
  • 收藏
  • 关注

原创 Reverse Integer

Reverse Integer题目Reverse digits of an integer.Example1: x = 123, return 321 Example2: x = -123, return -321 Have you thought about this? Here are some good questions to ask before coding. Bonus poin

2015-08-30 10:01:47 248

原创 006ZigZag Conversion

ZigZag Conversion题目The string “PAYPALISHIRING” is written in a zigzag pattern on a given number of rows like this: (you may want to display this pattern in a fixed font for better legibility)P A H

2015-08-30 09:02:52 282

原创 005Longest Palindromic Substring

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 substr

2015-08-29 18:38:25 291

原创 004Median of Two Sorted Arrays

题目There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The overall run time complexity should be O(log (m+n)).代码double findK(int* nums1,

2015-08-28 08:36:10 357

原创 3 Longest Substring Without Repeating Characters

3 Longest Substring Without Repeating Characters题目Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo

2015-08-26 10:39:08 325

原创 002Add Two Numbers

002Add Two Numbers目录002Add Two Numbers目录题目内容我的代码小记第二题比较简单,应该是最优的,只要处理好链表和地址即可,需要学习下函数中malloc和new关于内存的区别。malloc与new题目内容==You are given two linked lists representing two non-negative numbers. The d

2015-08-25 13:52:40 334

原创 001TwoSum

001TwoSum目录001TwoSum目录题目内容我的代码小记做什么事情都不完,现在要大四了,重新拾起算法数据结构,从leetcode开始。vector用法map用法题目内容==Given an array of integers, find two numbers such that they add up to a specific target number.The funct

2015-08-25 11:50:48 272

转载 进程隐藏与进程保护(SSDT Hook 实现)(一)

文章目录:                 1. 引子 – Hook 技术:2. SSDT 简介:3. 应用层调用 Win32 API 的完整执行流程:4. 详解 SSDT:5. SSDT  Hook 原理:6. 小结:          1. 引子 – Hook 技术:     前面一篇博文呢介绍了代码的注入

2013-12-28 22:06:27 582 1

翻译 7777

21

2013-08-22 11:25:01 1223

转载 123213

213213

2013-08-22 11:21:12 490

原创 排序模板 (待续)

First .  冒泡排序  复杂度 O(n^2)# include void bubbleSort(int arr[],int n) { int i,j,t; for(i=0;i<n-1;i++) { for(j=0;j<n-i-1;j++) { i

2013-08-20 16:44:58 502

转载 POJ 2342 Anniversary party

Anniversary partyTime Limit: 1000MS Memory Limit: 65536KTotal Submissions: 3235 Accepted: 1796DescriptionThere is going to be a party to celebrate the 80-th Anniversary of the Ural State University. T

2013-07-11 10:16:06 340

转载 hdu 4003 Find Metal Mineral

#include#include#include#include#define N 100010using namespace std;int n,root,soldiers;typedef struct MyStruct{int child;int val;}NODE;vectorf[N];//f[N]存父亲节点的子节点int dp[N][12];//dp[i][j]定义状态i节点的子树上分配j

2013-07-11 10:11:43 473

空空如也

空空如也

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

TA关注的人

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