2017年10月22日

Merge Two Binary Trees

摘要: 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 others are n 阅读全文

posted @ 2017-10-22 22:15 luckygxf 阅读(147) 评论(0) 推荐(0) 编辑

Judge Route Circle

摘要: Initially, there is a Robot at position (0, 0). Given a sequence of its moves, judge if this robot makes a circle, which means it moves back to the or 阅读全文

posted @ 2017-10-22 21:50 luckygxf 阅读(114) 评论(0) 推荐(0) 编辑

Hamming Distance

摘要: 很久没刷leetcode了 The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x 阅读全文

posted @ 2017-10-22 00:57 luckygxf 阅读(138) 评论(0) 推荐(0) 编辑

导航