摘要: 1.两数之和 https://leetcode.cn/problems/two-sum/description/?envType=study-plan-v2&envId=top-100-liked public int[] twoSum(int[] nums, int target) { HashM 阅读全文
posted @ 2024-03-07 16:53 jeasonGo 阅读(25) 评论(0) 推荐(0)
摘要: 977.有序数组的平方 https://leetcode.cn/problems/squares-of-a-sorted-array/description/ public static int[] sortedSquares(int[] nums){ int left = 0; int right 阅读全文
posted @ 2024-03-07 12:08 jeasonGo 阅读(27) 评论(0) 推荐(0)