11 2016 档案

摘要:Problem: Determine whether an integer is a palindrome. Do this without extra space. 简单的回文数,大一肯定有要求写过,不过从基础开始尝试吧。 Solution: 阅读全文
posted @ 2016-11-27 11:39 真的是从入门开始 阅读(195) 评论(0) 推荐(0)
摘要:Problem: Given an integer array nums, find the sum of the elements between indices i and j (i ≤ j), inclusive. The update(i, val) function modifies nu 阅读全文
posted @ 2016-11-27 11:16 真的是从入门开始 阅读(515) 评论(0) 推荐(0)
摘要:Given 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 ex 阅读全文
posted @ 2016-11-24 16:14 真的是从入门开始 阅读(204) 评论(0) 推荐(0)