- 博客(5)
- 收藏
- 关注
原创 leetcode#9. Palindrome Number
Determine whether an integer is a palindrome. Do this without extra space.class Solution { public boolean isPalindrome(int x) { /* Special cases As discussed above, when x < 0, x is
2017-10-10 22:34:30
183
原创 Leetcode#7. Reverse Integer
Reverse 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 function should return
2017-10-10 09:33:26
208
原创 Leetcode#1-Two Sum
Two SumGiven an array of integers, return indices of the two numbers such that they add up to a specific target.You may assume that each input would have exactly one solution, and you may not use the s
2017-10-10 06:06:02
198
原创 FreeCodeCamp <Object Oriented and Functional Programming>
** - Declare JavaScript Objects as Variables** 在我们深入 面向对象编程之前 ,让我们先回顾一下Javascript的 对象(Object)任务:给你的 motorBike 对象添加 wheels, engines 和 seats 属性,并且设置他们的数量。var car = { "wheels":4, "engines":1, "s
2017-09-19 13:25:58
761
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人