摘要:
https://leetcode.com/problems/4sum/ Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b 阅读全文
摘要:
https://leetcode.com/problems/3sum-closest/ Given an array nums of n integers and an integer target, find three integers in nums such that the sum is 阅读全文
摘要:
https://leetcode.com/problems/3sum/ Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique tri 阅读全文
摘要:
https://leetcode.com/problems/trapping-rain-water/ Given n non-negative integers representing an elevation map where the width of each bar is 1, compu 阅读全文