LeetCode 201. Bitwise AND of Numbers Range
Description https://leetcode.com/problems/bitwise-and-of-numbers-range/ Given a range [m, n] where 0 <= m <= n <= 2147483647, return the bitwise AND of…
Be a Good Techer and Tech for Good. www.goodtecher.com
Description https://leetcode.com/problems/bitwise-and-of-numbers-range/ Given a range [m, n] where 0 <= m <= n <= 2147483647, return the bitwise AND of…
Description https://leetcode.com/problems/subarray-sum-equals-k/ Given an array of integers nums and an integer k, return the total number of continuous subarrays whose sum equals to k. Example…
Description https://leetcode.com/problems/construct-binary-search-tree-from-preorder-traversal/ Return the root node of a binary search tree that matches the given preorder traversal. (Recall that a binary search tree is a…
Total 51 questions. Array and Strings Array and String type of questions were asked in interviews frequently. You will most…
Description https://leetcode.com/problems/search-in-rotated-sorted-array/ Suppose an array sorted in ascending order is rotated at some pivot unknown to you beforehand. (i.e., [0,1,2,4,5,6,7] might become [4,5,6,7,0,1,2]).…
Description https://leetcode.com/problems/minimum-path-sum/ Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of…
Description https://leetcode.com/problems/number-of-islands/ Given an m x n 2d grid map of ‘1’s (land) and ‘0’s (water), return the number of islands. An island is surrounded by water and is…
Description https://leetcode.com/problems/product-of-array-except-self/ Given an integer array nums, return an array answer such that answer[i] is equal to the product of all the elements of nums except nums[i]. The product…
Description https://leetcode.com/problems/valid-parenthesis-string/ Given a string containing only three types of characters: ‘(‘, ‘)’ and ‘*’, write a function to check…
Description https://leetcode.com/problems/contiguous-array/ Given a binary array, find the maximum length of a contiguous subarray with equal number of 0 and…