- 博客(5)
- 收藏
- 关注
原创 535. Encode and Decode TinyURL
LeetCode刷题随记LeetCode 第535题 解题思路解题思路代码总结 LeetCode 第535题 解题思路 TinyURL is a URL shortening service where you enter a URL such as https://leetcode.com/problems/design-tinyurl and it returns a short URL su...
2019-04-11 14:18:33
111
原创 617. Merge Two Binary Trees
LeetCode解题思路随记LeetCode 第617题 解题思路递归思想代码总结 LeetCode 第617题 解题思路 Given two binary trees and imagine that when you put one of them to cover the other, some nodes of the two trees are overlapped while the ...
2019-04-09 17:33:34
94
原创 461. Hamming Distance
LeetCode解题思路随记LeetCode 第461题 解题思路解题思路代码 LeetCode 第461题 解题思路 The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and...
2019-04-09 16:32:39
85
原创 657. Robot Return to Origin
LeetCode解题思路随记LeetCode第657题 解题思路思路代码优化分析和总结 LeetCode第657题 解题思路 There is a robot starting at position (0, 0), the origin, on a 2D plane. Given a sequence of its moves, judge if this robot ends up at (0...
2019-04-09 11:11:59
120
原创 832.Flipping an Image
LeetCode解题思路随记LeetCode第832题 解题思路镜像反转01替换小结分析最优解总结 LeetCode第832题 解题思路 Given a binary matrix A, we want to flip the image horizontally, then invert it, and return the resulting image. To flip an image h...
2019-04-09 10:29:09
119
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅