![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
LeetCode
文章平均质量分 76
yzmyyff
这个作者很懒,什么都没留下…
展开
-
Reverse Integer
Reverse digits of an integer. Example1: x = 123, return 321 Example2: x = -123, return -321 click to show spoilers. Have you thought about this? Here are some good questions to ask before c原创 2013-10-27 09:13:14 · 438 阅读 · 0 评论 -
Gray Code
Gray Code Total Accepted: 1416 Total Submissions: 4528My Submissions The gray code is a binary numeral system where two successive values differ in only one bit. Given a non-negative int原创 2013-10-28 16:16:46 · 570 阅读 · 0 评论 -
Trapping Rain Water
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. For example, Given [0,1,0,2,1,0,1,3,2,1,2,1]原创 2013-10-29 11:07:36 · 328 阅读 · 0 评论 -
Single Number II
Single Number II Total Accepted: 2553 Total Submissions: 8552My Submissions Given an array of integers, every element appears three times except for one. Find that single one. Note: You原创 2013-11-08 10:53:29 · 413 阅读 · 0 评论