自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 [LeetCode]First Bad Version

You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version of your product fails the quality check. Since each version is developed based on the

2015-09-30 12:35:20 264

原创 [LeetCode]Perfect Squares

Given a positive integer n, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to n.For example, given n = 12, return 3 because 12 = 4 + 4 + 4; given n =

2015-09-30 10:46:22 656

原创 [16腾讯在线笔试题2]-填数字

有以下题解,试用C/C++代码来列出满足下列0-100内的所有答案。A+B-9等于4+-

2015-09-06 23:59:54 892

原创 [16腾讯在线笔试题1]-GrayCode

在一组树的编码中,若任意两个相邻的代码只有一位二进制不同,则称这种编码为格雷码(GrayCode)。请编写一个函数,使用递归的方法生成N位的格雷码并且保证这个函数的健壮性。看到题目开始确实没有思路,不妨我们先画一下格雷码树结构。3位格雷码。                                         0          1

2015-09-06 22:01:43 546

空空如也

空空如也

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

TA关注的人

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