自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

nianhua120的专栏

转载请注明csdn的地址,谢谢。

  • 博客(8)
  • 资源 (14)
  • 收藏
  • 关注

原创 LeetCode 138. Copy List with Random Pointer

A 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 deep copy of the list.这个题目想了好久,觉得应该用HashMap 之类

2016-08-10 15:43:52 339

原创 LeetCode82.Remove Duplicates from Sorted List II

Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.For example,Given 1->2->3->3->4->4->5, return 1->2->5.Given 1->

2016-08-08 14:48:20 275

原创 LeetCode80. Remove Duplicates from Sorted Array II

Follow 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 should return length = 5, with the first fi

2016-08-08 14:06:47 237

原创 LeetCode 110. Balanced Binary Tree

Given 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 subtrees of every node never dif

2016-08-05 17:34:53 269

原创 114. Flatten Binary Tree to Linked List

Given a binary tree, flatten it to a linked list in-place.For example,Given 1 / \ 2 5 / \ \ 3 4 6The flattened tree should look like: 1

2016-08-05 16:55:11 240

原创 LeetCode 242. Valid Anagram

Given two strings s and t, write a function to determine if t is an anagram of s.For example,s = "anagram", t = "nagaram", return true.s = "rat", t = "car", return false.Note:You may ass

2016-08-04 14:39:16 220

原创 LeetCode105. Construct Binary Tree from Preorder and Inorder Traversal

Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.这种类型的题目经常考选择题。对于这道题,采用的是分治的思想,通过preorder的第一个元素为根元素,将ino

2016-08-04 13:11:15 207

原创 LeetCode 116. Populating Next Right Pointers in Each Node

Given a binary tree struct TreeLinkNode { TreeLinkNode *left; TreeLinkNode *right; TreeLinkNode *next; }Populate each next pointer to point to its next right node.

2016-08-04 09:44:27 193

MyJamseMusicV5

http://blog.csdn.net/nianhua120/article/details/51530879

2016-06-04

MyJamseMusicV4

http://blog.csdn.net/nianhua120/article/details/51527343

2016-06-04

MyJamsMusicV2

http://blog.csdn.net/nianhua120/article/details/51510297

2016-06-04

MyJamsMusicV1

http://blog.csdn.net/nianhua120/article/details/51570524

2016-06-04

SwipeMenuListViewV8

http://blog.csdn.net/nianhua120/article/details/51474593

2016-05-22

SwipeMenuListViewV7

http://blog.csdn.net/nianhua120/article/details/51428331

2016-05-22

MySwipeMenuListViewV4

资源的详细描述见 http://blog.csdn.net/nianhua120/article/details/51415912

2016-05-15

MySwipeMenuListView3

本代码说明详见 http://blog.csdn.net/nianhua120/article/details/51405522

2016-05-14

FrameLayout动态布局

该资源与文章http://blog.csdn.net/nianhua120/article/details/51387668 相配套。详细请参考该文章。

2016-05-14

MySwipeMenuListView1

这是我仿写的SwipeMenuListView的第一章节,只实现了手指移动的监测功能。

2016-05-11

STM32F0系列参考例程

该例程不是官方开发板的例程,而是我买的开发板赠送的。包括了IO口,SPI,DMA,USART等。基本上每个模块都有了。学习STM32的同学拿去。该开发板为STM32F051,凡是STM32F0xx系列的都行。

2012-08-30

c#串口配置窗体(可用于继承窗体)serialport类

这是一个用c#写的窗口配置窗体。包含了异常处理。使用serialport组件。适合win7,xp,vista等。可以生产dll文件,用于继承窗体。很是方便。

2012-02-25

单片机钢琴protel+keil仿真程序 下下来即可运行

这是一个用单片机仿真的电子钢琴程序,对单片机初学者来说是一个很不错的列子,文件包括protel仿真及keil写的汇编代码。相当好用奥。

2011-05-05

单片机数码管动态显示源程序及仿真电路文件

这是一个完整的带仿真电路的单片机动态显示数码管程序,希望对大家有用。protel和keil仿真奥。

2011-05-02

空空如也

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

TA关注的人

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