摘要:
原题链接在这里:https://leetcode.com/problems/search-in-rotated-sorted-array-ii/ 题目: Follow up for "Search in Rotated Sorted Array":What if duplicates are all 阅读全文
摘要:
原题链接在这里:https://leetcode.com/problems/find-first-and-last-position-of-element-in-sorted-array/description/ 题目: Given an array of integers sorted in as 阅读全文
摘要:
原题链接在这里:https://leetcode.com/problems/search-insert-position/description/ 题目: Given a sorted array and a target value, return the index if the target 阅读全文
摘要:
原题链接在这里:https://leetcode.com/problems/search-a-2d-matrix-ii/ 题目: Write an efficient algorithm that searches for a value in an m x n matrix. This matri 阅读全文
摘要:
原题链接在这里:https://leetcode.com/problems/search-a-2d-matrix/ 题目: Write an efficient algorithm that searches for a value in an m x n matrix. This matrix h 阅读全文
摘要:
原题链接在这里:https://leetcode.com/problems/trapping-rain-water/ 题目: Given n non-negative integers representing an elevation map where the width of each bar 阅读全文
摘要:
原题链接在这里:https://leetcode.com/problems/product-of-array-except-self/ 题目: Given an integer array nums, return an array answer such that answer[i] is equ 阅读全文
摘要:
原题链接在这里:https://leetcode.com/problems/first-missing-positive/ 题目: Given an unsorted integer array, find the smallest missing positive integer. Example 阅读全文
摘要:
原题链接在这里:https://leetcode.com/problems/find-the-duplicate-number/ 题目: Given an array nums containing n + 1 integers where each integer is between 1 and 阅读全文
摘要:
原题链接在这里:https://leetcode.com/problems/missing-number/ 题目: Given an array containing n distinct numbers taken from 0, 1, 2, ..., n, find the one that i 阅读全文