- 博客(3)
- 收藏
- 关注
转载 leetcode算法题3:分组,让每个组的最小者,相加之后和最大。想知道桶排序是怎么样的吗?...
/*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 s...
2017-07-15 18:53:00
305
转载 leetcode算法题2: 合并两个二叉树。递归,如何切入并保持清醒?
/*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...
2017-07-15 17:52:00
159
转载 leetcode算法题1: 两个二进制数有多少位不相同?异或、位移、与运算的主场
/*The Hamming distance between two integers is the number of positions at which the corresponding bits are different.Given two integers x and y, ...
2017-07-15 16:49:00
150
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人