- 博客(3)
- 收藏
- 关注
原创 718. Maximum Length of Repeated Subarray
Given two integer arrays A and B, return the maximum length of an subarray that appears in both arrays. Example 1: Input: A: [1,2,3,2,1] B: [3,2,1,4,7] Output: 3 Explanation: The
2018-01-27 13:59:23 238
原创 442. Find All Duplicates in an Array
题目描述 Given an array of integers, 1 ≤ a[i] ≤ n (n = size of array), some elements appear twice and others appear once. Find all the elements that appear twice in this array. Could you do it
2018-01-26 14:42:31 210
原创 62. Unique Paths
题目描述 A robot is located at the top-left corner of a m x n grid (marked ‘Start’ in the diagram below). The robot can only move either down or right at any point in time. The robot is try
2018-01-26 13:42:42 249
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人