LeetCode算法随记
weixin_43408733
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
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 阅读 · 0 评论 -
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 阅读 · 0 评论 -
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 阅读 · 0 评论 -
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 阅读 · 0 评论 -
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 阅读 · 0 评论
分享