自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

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

原创 LeetCode-Binary Tree Paths -解题报告

原题链接 https://leetcode.com/problems/binary-tree-paths/ Given a binary tree, return all root-to-leaf paths. For example, given the following binary tree: 1 / \ 2 3 \ 5

2015-08-29 23:55:29 252

原创 LeetCode-Add Digits-解题报告

原题链接 https://leetcode.com/problems/add-digits/ Given a non-negative integer num, repeatedly add all its digits until the result has only one digit. For example: Given num = 38, the proces

2015-08-29 18:58:02 298

原创 LeetCode-Single Number-解题报告

原题链接 https://leetcode.com/problems/single-number/ Given an array of integers, every element appears twice except for one. Find that single one. 找出唯一一个只出现一次的数。 因为其他数肯定出现两次 又因为A^A = 0, 0^B = B; 所以

2015-08-28 18:55:51 252

原创 LeetCode-Ugly Number-解题报告

原链接 https://leetcode.com/problems/ugly-number/ Write a program to check whether a given number is an ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5.

2015-08-28 16:41:49 285

原创 LeetCode-Ugly Number II-解题报告

原链接https://leetcode.com/problems/ugly-number-ii/ Write a program to find the n-th ugly number. Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example, 1, 2,

2015-08-28 15:52:15 288

原创 LeetCode-Missing Number-解题报告

原题链接 https://leetcode.com/problems/missing-number/ Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that is missing from the array. For example, Given n

2015-08-27 16:16:05 341

空空如也

空空如也

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

TA关注的人

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