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 March 17, 2021March 17, 2021
  • Array

LeetCode 867. Transpose Matrix

Description https://leetcode.com/problems/transpose-matrix/ Given a 2D integer array matrix, return the transpose of matrix. The transpose of a matrix is the matrix flipped over its main diagonal, switching…

Continue Reading
  • Posted on March 17, 2021
  • Array

LeetCode 1550. Three Consecutive Odds

Description https://leetcode.com/problems/three-consecutive-odds/ Given an integer array arr, return true if there are three consecutive odd numbers in the array. Otherwise, return false. Example 1:…

Continue Reading
  • Posted on March 16, 2021March 16, 2021
  • Array

LeetCode 1441. Build an Array With Stack Operations

Description https://leetcode.com/problems/build-an-array-with-stack-operations/ Given an array target and an integer n. In each iteration, you will read a number from  list = {1,2,3…, n}. Build…

Continue Reading
  • Posted on March 16, 2021March 16, 2021
  • Array

LeetCode 346. Moving Average from Data Stream

Description https://leetcode.com/problems/moving-average-from-data-stream/ Given a stream of integers and a window size, calculate the moving average of all integers in the…

Continue Reading
  • Posted on March 15, 2021March 15, 2021
  • Array

LeetCode 1502. Can Make Arithmetic Progression From Sequence

Description https://leetcode.com/problems/can-make-arithmetic-progression-from-sequence/ Given an array of numbers arr. A sequence of numbers is called an arithmetic progression if the difference between any two…

Continue Reading
  • Posted on March 14, 2021September 1, 2021
  • Array

LeetCode 766. Toeplitz Matrix

Description https://leetcode.com/problems/toeplitz-matrix/ Given an m x n matrix, return true if the matrix is Toeplitz. Otherwise, return false. A matrix is Toeplitz if every diagonal from top-left…

Continue Reading
  • Posted on March 13, 2021March 13, 2021
  • Array

LeetCode 496. Next Greater Element I

Description https://leetcode.com/problems/next-greater-element-i/ You are given two integer arrays nums1 and nums2 both of unique elements, where nums1 is a subset of nums2. Find all the next greater numbers for nums1‘s…

Continue Reading
  • Posted on March 12, 2021March 12, 2021
  • Array

LeetCode 999. Available Captures for Rook

Description https://leetcode.com/problems/available-captures-for-rook/ On an 8 x 8 chessboard, there is exactly one white rook ‘R’ and some number of white bishops ‘B’, black pawns ‘p’, and empty squares ‘.’.…

Continue Reading
  • Posted on March 12, 2021March 12, 2021
  • Array

LeetCode 1779. Find Nearest Point That Has the Same X or Y Coordinate

Description https://leetcode.com/problems/find-nearest-point-that-has-the-same-x-or-y-coordinate/ You are given two integers, x and y, which represent your current location on a Cartesian grid: (x, y). You are also…

Continue Reading
  • Posted on March 11, 2021March 11, 2021
  • Array

LeetCode 1133. Largest Unique Number

Description https://leetcode.com/problems/largest-unique-number/ Given an array of integers A, return the largest integer that only occurs once. If no integer occurs once,…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 10 Page 11 Page 12 … 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