题目:子数组最大累加和 给定一个数组arr,返回子数组的最大累加和 例如:arr = [1,-2,3,5,-2,6,-1],所有子数组中[3,5...
![240](https://upload.jianshu.io/collections/images/1815615/me_meitu_1.jpg?imageMogr2/auto-orient/strip|imageView2/1/w/240/h/240)
题目:子数组最大累加和 给定一个数组arr,返回子数组的最大累加和 例如:arr = [1,-2,3,5,-2,6,-1],所有子数组中[3,5...
描述Given a sorted array, remove the duplicates in place such that each el...
描述Follow up for ”Remove Duplicates”: What if duplicates are allowed at m...
描述 Suppose a sorted array is rotated at some pivot unknown to you before...
描述 Follow up for ”Search in Rotated Sorted Array”: What if duplicates ar...
描述: There are two sorted arrays A and B of size m and n respectively. Fi...
描述 Given an unsorted array of integers, find the length of the longest c...
题目描述在一个二维数组中(每个一维数组的长度相同),每一行都按照从左到右递增的顺序排序,每一列都按照从上到下递增的顺序排序。请完成一个函数,输入...
题目描述请实现一个函数,将一个字符串中的每个空格替换成“%20”。例如,当字符串为We Are Happy.则经过替换之后的字符串为We%20A...
题目描述输入一个链表,按链表值从尾到头的顺序返回一个ArrayList。
专题公告
收集一些面试算法题