摘要:
题目: Given an input string, reverse the string word by word. A word is defined as a sequence of non-space characters. The input string does not contain 阅读全文
阅读排行榜
Leetcode - 189 Rotate Array
2017-01-14 06:53 by Mux1, 135 阅读, 收藏,
摘要:
题目: Rotate an array of n elements to the right by k steps. For example, with n = 7 and k = 3, the array [1,2,3,4,5,6,7] is rotated to [5,6,7,1,2,3,4]. 阅读全文
Leetcode - 要你命100-15. 3sum 解题报告
2017-09-29 09:46 by Mux1, 134 阅读, 收藏,
摘要:
题目: Given an array S of n integers, are there elements a, b, c in S such that a + b + c = 0? Find all unique triplets in the array which gives the sum 阅读全文
LeetCode - 7 Reverse Integer
2017-01-11 22:33 by Mux1, 133 阅读, 收藏,
摘要:
题目: Reverse digits of an integer. Example1: x = 123, return 321Example2: x = -123, return -321 Have you thought about this? Here are some good questio 阅读全文
浙公网安备 33010602011771号