摘要: Rotate ArrayRotate an array ofnelements to the right byksteps.For example, withn= 7 andk= 3, the array[1,2,3,4,5,6,7]is rotated to[5,6,7,1,2,3,4].Note... 阅读全文
posted @ 2015-03-04 16:45 imKirin 阅读(153) 评论(0) 推荐(0) 编辑
摘要: Letter Combinations of a Phone NumberGiven a digit string, return all possible letter combinations that the number could represent.A mapping of digit ... 阅读全文
posted @ 2015-03-04 14:20 imKirin 阅读(157) 评论(0) 推荐(0) 编辑