上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页
摘要: 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: 阅读全文
posted @ 2019-04-19 11:43 GoodRnne 阅读(273) 评论(0) 推荐(0) 编辑
摘要: Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu 阅读全文
posted @ 2019-04-19 11:29 GoodRnne 阅读(386) 评论(0) 推荐(0) 编辑
摘要: Given an array of non-negative integers, you are initially positioned at the first index of the array.Each element in the array represents your maximu 阅读全文
posted @ 2019-04-19 11:21 GoodRnne 阅读(368) 评论(0) 推荐(0) 编辑
摘要: Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum. Example: Inpu 阅读全文
posted @ 2019-04-17 20:41 GoodRnne 阅读(271) 评论(0) 推荐(0) 编辑
摘要: 昨天花了几个小时的时间把Go的语法过了一遍,发现Go语言的语法核心和大部分编程语言的规则还是挺相近的,差别的就是不同的书写规范。还有就是前天安装VScode编译器那个插件把人弄得恶心了,总是安装不成功,找了各种办法(包括FQ)还是没能解决。最后也没有过于执着的继续弄了。大概记录以下基础语法部分。 程 阅读全文
posted @ 2019-04-16 21:42 GoodRnne 阅读(307) 评论(0) 推荐(0) 编辑
摘要: Given an array of strings, group anagrams together. Example: Note: All inputs will be in lowercase. The order of your output does not matter 思路 这道题在一开 阅读全文
posted @ 2019-04-16 20:09 GoodRnne 阅读(254) 评论(0) 推荐(0) 编辑
摘要: You are given an n x n 2D matrix representing an image.Rotate the image by 90 degrees (clockwise). Note:You have to rotate the image in-place, which m 阅读全文
posted @ 2019-04-16 19:47 GoodRnne 阅读(222) 评论(0) 推荐(0) 编辑
摘要: Given a collection of distinct integers, return all possible permutations. Example: 阅读全文
posted @ 2019-04-14 12:33 GoodRnne 阅读(325) 评论(0) 推荐(0) 编辑
摘要: Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after raining. 阅读全文
posted @ 2019-04-13 14:23 GoodRnne 阅读(263) 评论(0) 推荐(0) 编辑
摘要: Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string. Example 1: Ex 阅读全文
posted @ 2019-04-13 13:51 GoodRnne 阅读(158) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 13 下一页