摘要:
Given n points in the plane that are all pairwise distinct, a "boomerang" is a tuple of points (i, j, k) such that the distance between i and j equals 阅读全文
posted @ 2018-04-01 22:16
bonelee
阅读(278)
评论(0)
推荐(0)
摘要:
Given a non-empty array of non-negative integers nums, the degree of this array is defined as the maximum frequency of any one of its elements. Your t 阅读全文
posted @ 2018-04-01 21:07
bonelee
阅读(220)
评论(0)
推荐(0)
摘要:
Reverse a singly linked list. click to show more hints. 精简下代码: 递归解: dfs 记得程序员面试金典里专门提过! 阅读全文
posted @ 2018-04-01 16:46
bonelee
阅读(155)
评论(0)
推荐(0)
摘要:
Given scores of N athletes, find their relative ranks and the people with the top three highest scores, who will be awarded medals: "Gold Medal", "Sil 阅读全文
posted @ 2018-04-01 12:29
bonelee
阅读(179)
评论(0)
推荐(0)
摘要:
Given an array of integers, find if the array contains any duplicates. Your function should return true if any value appears at least twice in the arr 阅读全文
posted @ 2018-04-01 10:36
bonelee
阅读(139)
评论(0)
推荐(0)

浙公网安备 33010602011771号