自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 [LeetCode 107]Binary Tree Level Order Traversal II(递归法)

题目内容107 Binary Tree Level Order Traversal II Given 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 exa

2016-07-24 17:39:08 805

原创 [LeetCode 198] House Robber(动态规划)

题目内容 198 House Robber You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, the only constraint stopping you from robbing each of t

2016-07-22 18:05:01 221

原创 [LeetCode 121]Best Time to Buy and Sell Stock(动态规划)

题目内容 121 Best Time to Buy and Sell Stock Say you have an array for which the ith element is the price of a given stock on day i. If you were only permitted to complete at most one transact

2016-07-19 22:38:08 453

原创 [LeetCode 206] Reverse Linked List(迭代法)

题目内容 206.Reverse Linked List Reverse a singly linked list.题目来源代码示例//Reverse with iterationListNode* reverseList(ListNode* head) { ListNode* p=head; ListNode* q=NULL;

2016-07-08 23:40:04 384

原创 [LeetCode 169]Majority Element: Moore Voting Algorithm

问题来源**>169.Majority Element Given an array of size n, find the majority element. The majority element is the element that appears more than ⌊ n/2 ⌋ times. You may assume that the array is non-empt

2016-07-08 21:42:59 228

空空如也

空空如也

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

TA关注的人

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