摘要: 原题链接在这里:https://leetcode.com/problems/candy/ There are N children standing in a line. Each child is assigned a rating value. You are giving candies to 阅读全文
posted @ 2015-11-05 07:52 Dylan_Java_NYC 阅读(205) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/sliding-window-maximum/ 题目: Given an array nums, there is a sliding window of size k which is moving from the ve 阅读全文
posted @ 2015-11-05 07:20 Dylan_Java_NYC 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/maximum-gap/ 题目: Given an unsorted array, find the maximum difference between the successive elements in its sor 阅读全文
posted @ 2015-11-05 05:41 Dylan_Java_NYC 阅读(309) 评论(0) 推荐(0) 编辑
摘要: 原题链接在这里:https://leetcode.com/problems/integer-to-english-words/ 题目: Convert a non-negative integer to its english words representation. Given input is 阅读全文
posted @ 2015-11-05 01:30 Dylan_Java_NYC 阅读(313) 评论(0) 推荐(0) 编辑