LeetCode 246. Strobogrammatic Number
Description https://leetcode.com/problems/strobogrammatic-number/ A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down).…
Be a Good Techer and Tech for Good. www.goodtecher.com
Description https://leetcode.com/problems/strobogrammatic-number/ A strobogrammatic number is a number that looks the same when rotated 180 degrees (looked at upside down).…
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…
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…
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…
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…
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…
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…
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…
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…
Description https://leetcode.com/problems/two-sum/ Given an array of integers nums and an integer target, return indices of the two numbers such that they add up to target.…