自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(19)
  • 资源 (14)
  • 收藏
  • 关注

原创 leetcode -day24 Maximum Depth of Binary Tree & Binary Tree Zigzag Level Order Traversal

1、Maximum Depth of Binary TreeGiven a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.clas

2014-05-30 17:39:10 1203

原创 leetcode -day23 Construct Binary Tree from Inorder and Postorder Traversal & Construct Binary Tree f

1、Construct Binary Tree from Inorder and Postorder TraversalGiven inorder and postorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in

2014-05-29 17:00:58 1696

原创 leetcode -day22 Binary Tree Level Order Traversal II & Convert Sorted Array to Binary Search Tree

1、Binary Tree Level Order Traversal IIGiven a binary tree, return the bottom-up level order traversal of its nodes' values. (ie, from left to right, level by level from leaf to root).For e

2014-05-26 09:27:31 1086

原创 leetcode -day21 Longest Substring Without Repeating Characters

1、Longest Substring Without Repeating CharactersGiven a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letter

2014-05-22 21:54:59 1055

原创 leetcode -day20 Add Two Numbers

1、Add Two Numbers You are given two linked lists representing two non-negative numbers. The digits are stored in reverse order and each of their nodes contain a single digit. Add the two num

2014-05-20 22:03:02 1195

原创 leetcode -day19 Convert Sorted List to Binary Search Tree

1、Convert Sorted List to Binary Search Tree Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST.分析:将一个升序排列的链表转换为平衡二叉搜索树,采用递归的方式,先找到链表

2014-05-19 13:22:03 1463 3

原创 leetcode -day18 Balanced Binary Tree

1、Balanced Binary TreeGiven a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the depth of the two subt

2014-05-18 21:39:15 1204

原创 面试题整理19 矩阵Z字形扫描

题目: 矩阵Z字形扫描对于

2014-05-17 09:35:00 3386

原创 leetcode -day17 Path Sum I II & Flatten Binary Tree to Linked List & Minimum Depth of Binary Tree

1、Path SumGiven a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.For example:Given the below

2014-05-17 09:33:25 1266

原创 leetcode -day16 ZigZag Conversion

1、ZigZag ConversionThe 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 legibili

2014-05-16 09:58:26 1476

转载 小白鼠与毒药解题过程分析

网上流传着一题淘宝面试题,原题如下:我们有很多瓶无色的液体,其中有一瓶是毒药,其它都是蒸馏水,实验的小白鼠喝了以后会在5分钟后死亡,而喝到蒸馏水的小白鼠则一切正常。现在有5只小白鼠,请问一下,我们用这五只小白鼠,5分钟的时间,能够检测多少瓶液体的成分()。A:5, B:6, C:31, D:32。+1只小白鼠首先可以想象只有1只小白鼠的情况,毫无疑问,1只小白鼠五分钟只能判

2014-05-14 18:57:14 1127

原创 leetcode -day 15 Distinct Subsequences

1、Distinct Subsequences Given a string S and a string T, count the number of distinct subsequences of T in S.A subsequence of a string is a new string which is formed from the original str

2014-05-14 10:42:19 1134 1

原创 leetcode -day14 Populating Next Right Pointers in Each Node I II

1、Populating Next Right Pointers in Each NodeGiven a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; }Populate

2014-05-13 11:03:48 924

原创 leetcode -day13 Valid Palindrome & Triangle & Pascal's Triangle I II

1、Valid PalindromeGiven a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.For example,"A man, a plan, a canal: Panama" is a palindrom

2014-05-12 10:59:50 1041

原创 leetcode --day12 Surrounded Regions & Sum Root to Leaf Numbers & Longest Consecutive Sequence

1、Surrounded RegionsGiven a 2D board containing 'X' and 'O', capture all regions surrounded by 'X'.A region is captured by flipping all 'O's into 'X's in that surrounded region.For e

2014-05-11 17:08:26 1058

原创 leetcode -day11 Clone Graph & Palindrome Partitioning I II

1、Clone GraphClone an undirected graph. Each node in the graph contains a label and a list of its neighbors.OJ's undirected graph serialization:Nodes are labeled uniquely.We use # as

2014-05-08 22:18:57 1102

原创 leetcode -day10 Word Ladder I II

1、Word LadderGiven two words (start and end), and a dictionary, find the length of shortest transformation sequence from start to end, such that:Only one letter can be changed at a tim

2014-05-07 15:19:36 1203

原创 leetcode -day9 Candy & Gas Station & Binary Tree Maximum Path Sum

1、CandyThere are N children standing in a line. Each child is assigned a rating value.You are giving candies to these children subjected to the following requirements:Each child must h

2014-05-06 17:31:19 1039

原创 leetcode -day8 Copy List with Random Pointer & Single Number I II

五一中间断了几天,开始继续。。。1、Copy List with Random PointerA linked list is given such that each node contains an additional random pointer which could point to any node in the list or null.Return a

2014-05-05 14:21:12 1075

maven-2.2.1-bin.zip

maven2.2.1安装包,windows

2014-07-24

libsvm 代码注释

libsvm svm.cpp svm.h的注释

2013-09-12

libsvm2.9+gp373w32(gnuplot)

libsvm2.9和gnuplot的windows32位版本gp373w32

2013-09-12

Libsvm+gnuplot

libsvm2.9和gnuplot-4.4.0 , libsvm使用必备

2013-09-12

ffmpeg windows下编译 64位

ffmpeg在windows 64位的编译版本包括static 、shared、dev版本,可以用c++直接调用,无需再编译。

2013-09-09

strmbase.lib+strmbased.lib

c++ 调用directshow来处理视频所需要的库文件

2013-09-08

最新版本ffmpeg提取任意格式视频帧并保存

利用ffmpeg来提取任意格式视频帧或关键帧,所用版本为http://download.csdn.net/detail/kuaile123/6232827 也是现在官网上的最新版。

2013-09-08

ffmpeg-bin-lib-include

ffmpeg在 windows下编译的版本包括了include,lib,bin还有示例代码,添加了通常缺少的inttypes.h文件,在vs下编译通过参考博客http://blog.csdn.net/kuaile123/article/details/11367309

2013-09-08

CentOS-5.9-x86_64-bin-DVD

CentOS-5.9-x86_64-bin-DVD,很大,下载很慢,直接下载得几个小时,利用torrent下载很快可以达到1M/s,注意为64位系统。

2013-08-26

安卓指南针

根据安卓手机传感器获得角度,在安卓手机上显示指南针,难够指南指北

2013-04-07

根据加速度传感器的数据,在屏幕上显示水平线

利用加速度传感器得到的三个坐标,计算屏幕x,y坐标,根据两个点在屏幕上画出水平线,activity 设置成 sensor

2013-03-11

meg88通过L297L298电路控制步进电机程序代码

实现键盘输入角度,meg88通过L297L298控制四相电机,转过相应的角度,或者升到相应的频率不失步

2011-08-18

18b20测温度(meg88)键盘显示

用18b20测温度,传给meg88,并用键盘显示出来,自己写的,测试成功

2011-08-18

空空如也

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

TA关注的人

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