摘要: Description: Given a positive integer n, generate a square matrix filled with elements from 1 to n2 in spiral order. Example: Solution: 这道题和那道:LeetCod 阅读全文
posted @ 2019-04-02 20:59 Doris7 阅读(184) 评论(0) 推荐(0) 编辑
摘要: Description: Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represen 阅读全文
posted @ 2019-03-29 20:19 Doris7 阅读(114) 评论(0) 推荐(0) 编辑
摘要: Description: Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. Example 1: Example 2: Solution: 阅读全文
posted @ 2019-03-29 19:06 Doris7 阅读(204) 评论(0) 推荐(0) 编辑
摘要: Description: Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. 阅读全文
posted @ 2019-03-29 15:11 Doris7 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 在家每次都懒得动... 今天终于学校通网了!! 一定得把写的好好发上来了(Word里写了一些) 阅读全文
posted @ 2019-03-29 14:51 Doris7 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 还是找个地方记录一下刷题... 大约就算是3月开始吧!目前正在做前100题,先是看别人的写!(就是完全抄答案!!) Whatever,努力刷题!! 阅读全文
posted @ 2019-03-17 12:39 Doris7 阅读(99) 评论(0) 推荐(0) 编辑