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 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
  • Posted on October 17, 2020October 18, 2020
  • Array

LeetCode 1620. Coordinate With Maximum Network Quality

Description https://leetcode.com/problems/coordinate-with-maximum-network-quality/ You are given an array of network towers towers and an integer radius, where towers[i] = [xi, yi, qi] denotes the ith network tower with…

Continue Reading
  • Posted on October 17, 2020October 18, 2020
  • Array

LeetCode 1619. Mean of Array After Removing Some Elements

Description https://leetcode.com/problems/mean-of-array-after-removing-some-elements/ Given an integer array arr, return the mean of the remaining integers after removing the smallest 5% and the largest 5% of the elements.…

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

LeetCode 135. Candy

Description https://leetcode.com/problems/candy/ There are N children standing in a line. Each child is assigned a rating value. You are giving candies to…

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

LeetCode 904. Fruit Into Baskets

Description https://leetcode.com/problems/fruit-into-baskets/ In a row of trees, the i-th tree produces fruit with type tree[i]. You start at any tree of your choice, then repeatedly perform…

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

LeetCode 253. Meeting Rooms II

Description https://leetcode.com/problems/meeting-rooms-ii/ Given an array of meeting time intervals consisting of start and end times [[s1,e1],[s2,e2],…] (si < ei), find the minimum number…

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

LeetCode 933. Number of Recent Calls

Description https://leetcode.com/problems/number-of-recent-calls/ You have a RecentCounter class which counts the number of recent requests within a certain time frame. Implement the RecentCounter class: RecentCounter() Initializes…

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

LeetCode 624. Maximum Distance in Arrays

Description https://leetcode.com/problems/maximum-distance-in-arrays/ Given m arrays, and each array is sorted in ascending order. Now you can pick up two integers from two…

Continue Reading

Posts navigation

Page 1 Page 2 … Page 4 Next Page

Follow GoodTecher

Categories

  • HackerRank (1)
  • Interview (5)
  • LeetCode (185)
    • Array (40)
    • Backtracking (10)
    • Binary Search (11)
    • Binary Tree (20)
    • Bit Manipulation (4)
    • Depth First Search (6)
    • Design (4)
    • Dynamic Programming (13)
    • Graph (3)
    • Linked List (13)
    • Math (16)
    • Sorting (5)
    • Stack (8)
    • String (23)
    • Two Pointers (10)
    • Union Find (2)
  • Machine Learning (7)
  • Technical Solutions (2)
  • Useful (2)
© Copyright 2021 – GoodTecher
Cell Theme by DesignOrbital ⋅ Powered by WordPress