2018年5月13日

LeetCode第[55]题(Java):Jump Game

摘要: 题目:跳跳游戏 难度:Medium 题目内容: Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the arr 阅读全文

posted @ 2018-05-13 19:09 清风吹斜阳 阅读(378) 评论(0) 推荐(0) 编辑

LeetCode第[54]题(Java):Spiral Matrix

摘要: 题目:螺旋矩阵 难度:Medium 题目内容: Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. 翻译: 给定一个m x n元素的矩阵(m行 阅读全文

posted @ 2018-05-13 17:23 清风吹斜阳 阅读(431) 评论(0) 推荐(0) 编辑

LeetCode第[53]题(Java):Maximum Subarray

摘要: 题目:和最大的子序列 难度:Medium 题目内容: Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and re 阅读全文

posted @ 2018-05-13 00:01 清风吹斜阳 阅读(928) 评论(0) 推荐(0) 编辑

导航