因为在开始写这个博客之前,已经刷了100题了,所以现在还是有很多题目没有加进来,为了方便查找哪些没加进来,先列一个表可以比较清楚的查看,也方便给大家查找。如果有哪些题目的链接有错误,请大家留言和谅解,链多了会眼花。 # Title Category Difficulty 1528 Shuffle S
关键词:Array 关键点:把num 和 nums[num - 1] 做1对1的映射 1classSolution2{3publicList<Integer> findDuplicates(int[] nums)4{5List<Integer> duplicates =newArrayList<>();67for(intnum: nums)8{9intabsNum =Math.abs(num);1011if(nums[absNum - 1] < 0)//if the number at position num -...
https://leetcode.com/list/5ve5355j 列表包含题目: https://leetcode.com/problems/peak-index-in-a-mountain-array/ https://leetcode.com/problems/search-in-rotated-sorted-array/ https://leetcode.com/problems/search-a-2d-matrix/ https://leetcode.com/problems/search-in-rotated-sorted-array-i...
Top 15 Linked List Interview Questions and Solutions前15 名链表面试问题及解决方案 Without any further ado, here is a list of Leetcode problems you can solve to get better at linked list:闲话少说,这里列出了您可以解决的 Leetcode 问题,以便更好地使用链表: Reverse Linked List 反向链表Description:...
LeetCode Top 100 Liked Questions 34. Find First and Last Position of Element in Sorted Array(Java版; Medium) 题目描述 Given an array of integers nums sorted in ascending order, find the starting and ending position of a given target value. ...
LeetCode Top 100 Liked Questions 238. Product of Array Except Self (Java版; Medium) 题目描述 Given an array nums of n integers where n > 1, return an array output such that output[i] is equal to the product of all the elements of nums except nums[i]. ...
2108-find-first-palindromic-string-in-the-array 2125-number-of-laser-beams-in-a-bank 2130-maximum-twin-sum-of-a-linked-list 2140-solving-questions-with-brainpower 2141-maximum-running-time-of-n-computers 2147-number-of-ways-to-divide-a-long-corridor 2149-rearrange-array-elements-by-...
989. Add to Array-Form of Integer.py Create 989. Add to Array-Form of Integer.py Feb 16, 2023 README.md Update README.md Jan 10, 2023 Repository files navigation README Leetcode-Solutions This repositary includes (most of) original answers of Leetcode Questions for reference. LeetCode Ac...
0148 Sort List Go 42.3% Medium 0149 Max Points on a Line 16.9% Hard 0150 Evaluate Reverse Polish Notation Go 36.3% Medium 0151 Reverse Words in a String Go 21.9% Medium 0152 Maximum Product Subarray Go 31.7% Medium 0153 Find Minimum in Rotated Sorted Array Go 45.1% Medium 0154 ...
explore/interview/card/top-interview-questions-in-2018 AC Excel表列序号 5年前 leetbook/read/top-interview-questions-easy/array/x2gy9m ✔删除排序数组中的重复项 4年前 problemset/2020-03 206.reverse-linked-list JAVA 5年前 AC.py update ac script ...