自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Leader的专栏

这是一位Leader的博客

  • 博客(6)
  • 资源 (2)
  • 收藏
  • 关注

原创 Spiral Matrix II

class Solution { public: vector> generateMatrix(int n) { vector> result(n,vector(n,0)); int circle = ceil(float(n)/2); int num = 1; for(int i = 1;i <= circle;+

2015-07-29 13:46:34 243

原创 Single Number II

class Solution { public: int singleNumber(vector& nums) { int len = nums.size(); if(len == 1) return nums[0]; sort(nums.begin(),nums.end());

2015-07-28 23:09:45 264

转载 Rotate List

/** * Definition for singly-linked list. * struct ListNode { * int val; * ListNode *next; * ListNode(int x) : val(x), next(NULL) {} * }; */ class Solution { public: ListNode* ro

2015-07-21 17:09:58 248

转载 Longest Valid Parentheses

class Solution { public: int longestValidParentheses(string s) { const int size = s.size(); int start = -1; int res = 0; stack stackdata; for(int i=0 ;

2015-07-08 14:09:21 263

转载 Binary Tree Right Side View

/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ clas

2015-07-06 19:08:17 277

转载 Binary Tree Maximum Path Sum

/** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * TreeNode *right; * TreeNode(int x) : val(x), left(NULL), right(NULL) {} * }; */ clas

2015-07-06 18:55:26 338

docker从入门到精通-入门篇

docker入门教程。推荐新手下载,网上找的资源,很不错

2018-01-26

opencv控件

opencv的控件程序,vc++画图必备。

2013-04-28

空空如也

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

TA关注的人

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