摘要: 原题链接在这里:https://leetcode.com/problems/summary-ranges/ 题目: Given a sorted integer array without duplicates, return the summary of its ranges. Example 1 阅读全文
posted @ 2016-01-18 17:24 Dylan_Java_NYC 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/string-to-integer-atoi/ 题目: Implement atoi which converts a string to an integer. The function first discards as 阅读全文
posted @ 2016-01-18 16:33 Dylan_Java_NYC 阅读(268) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/reverse-integer/ 题目: Given a 32-bit signed integer, reverse digits of an integer. Example 1: Input: 123 Output: 阅读全文
posted @ 2016-01-18 15:48 Dylan_Java_NYC 阅读(146) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/range-sum-query-mutable/ 题目: Given an integer array nums, find the sum of the elements between indices i and j ( 阅读全文
posted @ 2016-01-18 14:40 Dylan_Java_NYC 阅读(368) 评论(0) 推荐(0) 编辑