摘要:
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-08-14 19:49
anghostcici
阅读(82)
评论(0)
推荐(0)
摘要:
Given a sorted array, two integers k and x, find the k closest elements to x in the array. The result should also be sorted in ascending order. If the 阅读全文
posted @ 2017-08-14 19:39
anghostcici
阅读(107)
评论(0)
推荐(0)