# LeetCode 344. Reverse String

Description https://leetcode.com/problems/reverse-string/ Write a function that reverses a string. The input string is given as an array of characters char[]. Do…

# LeetCode 53. Maximum Subarray

Description https://leetcode.com/problems/maximum-subarray/ Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and…

# LeetCode 18. 4Sum

Description https://leetcode.com/problems/4sum/description/ 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 + c + d = target? Find all unique quadruplets in the array…

# LeetCode 26. Remove Duplicates from Sorted Array

Description https://leetcode.com/problems/remove-duplicates-from-sorted-array/ Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length. Do not…

# LeetCode 16. 3Sum Closest

Description https://leetcode.com/problems/3sum-closest/description/ Given an array S of n integers, find three integers in S such that the sum is closest to a given number, target. Return…

# LeetCode 15. 3Sum

Description Given an array nums of n integers, are there elements a, b, c in nums such that a + b + c = 0? Find all unique triplets in the array which gives the sum…

# LeetCode 11. Container With Most Water

Description https://leetcode.com/problems/container-with-most-water/ Given n non-negative integers a1, a2, …, an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two…

# LeetCode 42. Trapping Rain Water

Description https://leetcode.com/problems/trapping-rain-water/description/ Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water…

# LeetCode 1. Two Sum

Description https://leetcode.com/problems/two-sum/ Given an array of integers, return indices of the two numbers such that they add up to a specific target.…