leetcode-java
文章平均质量分 64
crazy_sevn
这个作者很懒,什么都没留下…
展开
-
LeetCode - Hamming Distance
LeetCode - Hamming Distance题目:The Hamming distance between two integers is the number of positions at which the corresponding bits are different.Given two integers x and y, calculate the Hamming distan原创 2017-07-30 00:36:48 · 236 阅读 · 0 评论 -
LeetCode - Merge Two Binary Tree
LeetCode - 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 not.You need to原创 2017-07-30 21:52:11 · 175 阅读 · 0 评论 -
LeetCode - Array Partition I
LeetCode - Array Partition I题目: Given an array of 2n integers, your task is to group these integers into n pairs of integer, say (a1, b1), (a2, b2), …, (an, bn) which makes sum of min(ai, bi) for all原创 2017-08-03 21:04:23 · 194 阅读 · 0 评论