About 9,220,000 results
Open links in new tab
  1. 11. Container With Most Water - LeetCode

    Example 1: [https://s3-lc-upload.s3.amazonaws.com/uploads/2018/07/17/question_11.jpg] Input: height = [1,8,6,2,5,4,8,3,7] Output: 49 Explanation: The above vertical lines are represented by …

  2. LeetCode - The World's Leading Online Programming Learning …

    Not only does LeetCode prepare candidates for technical interviews, we also help companies identify top technical talent. From sponsoring contests to providing online assessments and …

  3. Jump Game II - LeetCode

    Can you solve this real interview question? Jump Game II - You are given a 0-indexed array of integers nums of length n. You are initially positioned at index 0. Each element nums[i] …

  4. Coin Change - LeetCode

    You may assume that you have an infinite number of each kind of coin. Example 1: Input: coins = [1,2,5], amount = 11 Output: 3 Explanation: 11 = 5 + 5 + 1 Example 2: Input: coins = [2], …

  5. Two Sum II - Input Array Is Sorted - LeetCode

    Example 1: Input: numbers = [2,7,11,15], target = 9 Output: [1,2] Explanation: The sum of 2 and 7 is 9. Therefore, index1 = 1, index2 = 2. We return [1, 2]. Example 2: Input: numbers = [2,3,4], …

  6. Course Schedule II - LeetCode

    Can you solve this real interview question? Course Schedule II - There are a total of numCourses courses you have to take, labeled from 0 to numCourses - 1. You are given an array …

  7. Path Sum II - LeetCode

    Example 1: Input: root = [5,4,8,11,null,13,4,7,2,null,null,5,1], targetSum = 22 Output: [[5,4,11,2],[5,8,4,5]] Explanation: There are two paths whose sum equals targetSum: 5 + 4 + …

  8. Word Search II - LeetCode

    Example 1: [https://assets.leetcode.com/uploads/2020/11/07/search1.jpg] Input: board = [ ["o","a","a","n"], ["e","t","a","e"], ["i","h","k","r"], ["i","f","l","v"]], words = ["oath","pea","eat","rain"] …

  9. Search a 2D Matrix II - LeetCode

    Input: matrix = [[1,4,7,11,15],[2,5,8,12,19],[3,6,9,16,22],[10,13,14,17,24],[18,21,23,26,30]], target = 5 Output: true Example 2: Input: matrix = …

  10. House Robber - LeetCode

    Can you solve this real interview question? House Robber - You are a professional robber planning to rob houses along a street. Each house has a certain amount of money stashed, …