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 November 20, 2021November 20, 2021
  • Array

LeetCode 1057. Campus Bikes

Description https://leetcode.com/problems/campus-bikes/ On a campus represented on the X-Y plane, there are n workers and m bikes, with n <= m. You are given an…

Continue Reading
  • Posted on October 6, 2021October 6, 2021
  • Array

LeetCode 209. Minimum Size Subarray Sum

Description https://leetcode.com/problems/minimum-size-subarray-sum/ Given an array of positive integers nums and a positive integer target, return the minimal length of a contiguous subarray [numsl, numsl+1, …,…

Continue Reading
  • Posted on September 28, 2021September 28, 2021
  • Array

LeetCode 1146. Snapshot Array

Description https://leetcode.com/problems/snapshot-array/ Implement a SnapshotArray that supports the following interface: SnapshotArray(int length) initializes an array-like data structure with the given length.  Initially,…

Continue Reading
  • Posted on September 26, 2021September 26, 2021
  • Array

LeetCode 1138. Alphabet Board Path

Description https://leetcode.com/problems/alphabet-board-path/ On an alphabet board, we start at position (0, 0), corresponding to character board[0][0]. Here, board = [“abcde”, “fghij”, “klmno”, “pqrst”,…

Continue Reading
  • Posted on September 25, 2021September 25, 2021
  • Array

LeetCode 2012. Sum of Beauty in the Array

Description https://leetcode.com/problems/sum-of-beauty-in-the-array/ You are given a 0-indexed integer array nums. For each index i (1 <= i <= nums.length – 2) the beauty of nums[i] equals: 2, if nums[j] <…

Continue Reading
  • Posted on September 25, 2021September 25, 2021
  • Array

LeetCode 2011. Final Value of Variable After Performing Operations

Description https://leetcode.com/problems/final-value-of-variable-after-performing-operations/ There is a programming language with only four operations and one variable X: ++X and X++ increments the value of the variable X by 1. –X and X– decrements the value of the variable X by 1.…

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

LeetCode 327. Count of Range Sum

Description https://leetcode.com/problems/count-of-range-sum/ Given an integer array nums and two integers lower and upper, return the number of range sums that lie in [lower, upper] inclusive. Range sum S(i, j) is…

Continue Reading
  • Posted on September 3, 2021September 3, 2021
  • Array

LeetCode 289. Game of Life

Description https://leetcode.com/problems/game-of-life/ According to Wikipedia’s article: “The Game of Life, also known simply as Life, is a cellular automaton devised by the British…

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

LeetCode 422. Valid Word Square

Description https://leetcode.com/problems/valid-word-square/ Given an array of strings words, return true if it forms a valid word square. A sequence of strings forms a valid word…

Continue Reading
  • Posted on August 22, 2021August 22, 2021
  • Array

LeetCode 621. Task Scheduler

Description https://leetcode.com/problems/task-scheduler/ Given a characters array tasks, representing the tasks a CPU needs to do, where each letter represents a different…

Continue Reading

Posts navigation

Page 1 Page 2 … 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