---------【LeetCode答案(Easy)】
LEETCODE
霄永梓
春水碧于天,画船听雨眠。
展开
-
LeetCode 答案(Easy)(601-700)
657-Judge Route CircleInitially, 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 original place.The move sequenc原创 2017-08-17 18:18:50 · 1952 阅读 · 0 评论 -
LeetCode 答案(Easy)(201-300)
263- Ugly Number(丑数)Write a program to check whether a given number is an ugly number. 写一个程序来判断一个给定的数是不是“丑数”Ugly numbers are positive numbers whose prime factors only include 2, 3, 5. For example, 6,原创 2017-08-18 12:20:07 · 457 阅读 · 0 评论 -
LeetCode 答案(Easy)(1-100)
7 . Reverse IntegerReverse digits of an integer.Example1: x = 123, return 321 Example2: x = -123, return -321click to show spoilers.Note: The input is assumed to be a 32-bit signed integer. Your func原创 2017-08-16 14:46:00 · 3192 阅读 · 0 评论 -
LeetCode 答案(Easy)(101-200)
136-Single Number (单一的数)Given an array of integers, every element appears twice except for one. Find that single one. 给定一个数字数组,只有一个元素部署出现一次的,其他元素出现两次。找到这个单身狗Note: Your algorithm should have a linear原创 2017-08-30 14:44:20 · 428 阅读 · 0 评论