摘要: Problem: Determine whether an integer is a palindrome. Do this without extra space. 简单的回文数,大一肯定有要求写过,不过从基础开始尝试吧。 Solution: 阅读全文
posted @ 2016-11-27 11:39 真的是从入门开始 阅读(183) 评论(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 真的是从入门开始 阅读(491) 评论(0) 推荐(0) 编辑