GoodTecher

Be a Good Techer and Tech for Good. www.goodtecher.com

Skip to content
Menu
  • Home
  • LeetCode
    • Array
    • Binary Search
    • Binary Tree
    • Depth First Search
    • Design
    • Dynamic Programming
    • Linked List
    • Math
    • Stack
    • String
    • Two Pointers
    • Union Find
  • Useful

Category: Array

  • Posted on February 11, 2021February 11, 2021
  • Array

LeetCode 1672. Richest Customer Wealth

Description https://leetcode.com/problems/richest-customer-wealth/ You are given an m x n integer grid accounts where accounts[i][j] is the amount of money the i​​​​​​​​​​​th​​​​ customer has in the j​​​​​​​​​​​th​​​​ bank. Return the wealth that the…

Continue Reading
  • Posted on February 8, 2021February 8, 2021
  • Array

LeetCode 1470. Shuffle the Array

Description https://leetcode.com/problems/shuffle-the-array/ Given the array nums consisting of 2n elements in the form [x1,x2,…,xn,y1,y2,…,yn]. Return the array in the form [x1,y1,x2,y2,…,xn,yn]. Example 1: Input: nums =…

Continue Reading
  • Posted on February 5, 2021February 5, 2021
  • Array

LeetCode 692. Top K Frequent Words

Description https://leetcode.com/problems/top-k-frequent-words/ Given a non-empty list of words, return the k most frequent elements. Your answer should be sorted by frequency from…

Continue Reading
  • Posted on February 4, 2021February 4, 2021
  • Array

LeetCode 349. Intersection of Two Arrays

Description https://leetcode.com/problems/intersection-of-two-arrays/ Given two arrays, write a function to compute their intersection. Example 1: Input: nums1 = [1,2,2,1], nums2 =…

Continue Reading
  • Posted on January 29, 2021January 29, 2021
  • Array

LeetCode 1086. High Five

Description https://leetcode.com/problems/high-five/ Given a list of the scores of different students, items, where items[i] = [IDi, scorei] represents one score from a student…

Continue Reading
  • Posted on January 27, 2021January 27, 2021
  • Array

LeetCode 1480. Running Sum of 1d Array

Description https://leetcode.com/problems/running-sum-of-1d-array/ Given an array nums. We define a running sum of an array as runningSum[i] = sum(nums[0]…nums[i]). Return the running sum…

Continue Reading
  • Posted on January 20, 2021January 20, 2021
  • Array

LeetCode 1464. Maximum Product of Two Elements in an Array

Description https://leetcode.com/problems/maximum-product-of-two-elements-in-an-array/ Given the array of integers nums, you will choose two different indices i and j of that array. Return the maximum value of(nums[i]-1)*(nums[j]-1). Example…

Continue Reading
  • Posted on October 21, 2020October 21, 2020
  • Array

LeetCode 731. My Calendar II

Description https://leetcode.com/problems/my-calendar-ii/ Implement a MyCalendarTwo class to store your events. A new event can be added if adding the event will not…

Continue Reading
  • Posted on October 20, 2020October 20, 2020
  • Array

LeetCode 975. Odd Even Jump

Description https://leetcode.com/problems/odd-even-jump/ You are given an integer array A. From some starting index, you can make a series of jumps. The…

Continue Reading
  • Posted on October 19, 2020October 19, 2020
  • Array

LeetCode 849. Maximize Distance to Closest Person

Description https://leetcode.com/problems/maximize-distance-to-closest-person/ You are given an array representing a row of seats where seats[i] = 1 represents a person sitting in the ith seat, and seats[i] =…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 14 Page 15 Page 16 … Page 19 Next Page

Follow GoodTecher

Categories

  • HackerRank (1)
  • Interview (7)
  • LeetCode (588)
    • Array (185)
    • Backtracking (18)
    • Binary Search (19)
    • Binary Tree (63)
    • Bit Manipulation (15)
    • Database (40)
    • Depth First Search (6)
    • Design (10)
    • Dynamic Programming (17)
    • Graph (18)
    • Greedy (5)
    • Heap (1)
    • Linked List (26)
    • Math (36)
    • Recursion (3)
    • Sorting (11)
    • Stack (11)
    • String (95)
    • Two Pointers (12)
    • Union Find (2)
  • Machine Learning (7)
  • Technical Solutions (2)
  • Useful (3)
© Copyright 2025 – GoodTecher
Cell Theme by DesignOrbital ⋅ Powered by WordPress