自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

guicaisa的博客

抠着鼻屎,敲着代码。

  • 博客(6)
  • 资源 (1)
  • 问答 (1)
  • 收藏
  • 关注

原创 leetcode刷题, 总结,记录,备忘 171

leetcode题目171 Related to question Excel Sheet Column Title Given a column title as appear in an Excel sheet, return its corresponding column number. For example: A -> 1 B -> 2

2015-05-30 22:26:27 333

原创 leetcode刷题。总结,记录,备忘。168

leetcode168题。 先进行取模计算,得到最后一个位的字符,然后再进行求商运算,获得前面位的字符值,从右向左添加至结果字符串中。考虑到52应该是AZ,所以必须减去1,再进行求商运算,才能得到第一位是A class Solution { public: string convertToTitle(int n) { string result; char ch;

2015-05-30 00:03:58 376

原创 leetcode刷题。总结,记录,备忘 191

leetcode191题,求一个32无符号整数中位为1的个数,2种方法,最简单的就是使用c++中bitset容器,直接使用count()这个成员函数即可 class Solution { public: int hammingWeight(uint32_t n) { bitset bu(n); return bu.count();

2015-05-24 21:30:17 373

原创 leetcode刷题。总结,记录,备忘 100

leetcode 100题是判断2个二叉树是否相同 Given two binary trees, write a function to check if they are equal or not. Two binary trees are considered equal if they are structurally identical and the nodes have the

2015-05-23 22:13:06 383

原创 leetcode刷题。总结,记录,备忘 104

leetcode104题,计算二叉树的深度。 Given 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. 第一种方法采用递归,以遍历到

2015-05-23 21:45:53 374

原创 leetcode刷题,总结,笔记,备忘。136

从通过率最高的题目开始136 Single Number 找出数组里唯一一个只出现一次的数字。通过这个题目知道位异或运算符连续异或2个相同的数字得到0。 /*Given an array of integers, every element appears twice except for one. Find that single one. *Note: *Your algorithm

2015-05-22 22:33:58 458 2

libcurl库 libcurl-7.19.3-win32-ssl-msvc

libcurl库 libcurl-7.19.3-win32-ssl-msvc

2016-06-23

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

TA关注的人

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