1、最长无重复元素子数组长度
https://www.nowcoder.com/practice/b56799ebfd684fb394bd315e89324fb4?tpId=117&&tqId=37816&rp=1&ru=/activity/oj&qru=/ta/job-code-high/question-ranking
核心思路:
(1)保存最长无重复子数组,通过列表/哈希实现存储
(2)不断遍历,产生全局最大值
2、合并有序数组
https://www.nowcoder.com/practice/89865d4375634fc484f3a24b7fe65665?tpId=117&&tqId=37727&rp=1&ru=/activity/oj&qru=/ta/job-code-high/question-ranking
核心思想:双指针
3、螺旋矩阵
https://www.nowcoder.com/practice/7edf70f2d29c4b599693dc3aaeea1d31?tpId=117&&tqId=37738&rp=1&ru=/activity/oj&qru=/ta/job-code-high/question-ranking
核心思想:四种边界怎么递推
网友评论