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: LeetCode

  • Posted on August 18, 2018August 17, 2021
  • LeetCode

LeetCode 84. Largest Rectangle in Histogram

Description https://leetcode.com/problems/largest-rectangle-in-histogram/ Given an array of integers heights representing the histogram’s bar height where the width of each bar is 1, return the area…

Continue Reading
  • Posted on August 4, 2018March 29, 2020
  • Binary Search

LeetCode 278. First Bad Version

Description You are a product manager and currently leading a team to develop a new product. Unfortunately, the latest version…

Continue Reading
  • Posted on July 28, 2018October 30, 2021
  • Backtracking

LeetCode 17. Letter Combinations of a Phone Number

Description Given a string containing digits from 2-9 inclusive, return all possible letter combinations that the number could represent. Return the answer…

Continue Reading
  • Posted on June 23, 2018July 28, 2018
  • LeetCode

LeetCode 18. 4Sum

Description https://leetcode.com/problems/4sum/description/ Given an array nums of n integers and an integer target, are there elements a, b, c, and d in nums such that a + b + c + d = target? Find all unique quadruplets in the array…

Continue Reading
  • Posted on June 9, 2018August 12, 2021
  • LeetCode

LeetCode 26. Remove Duplicates from Sorted Array

Description https://leetcode.com/problems/remove-duplicates-from-sorted-array/ Given a sorted array nums, remove the duplicates in-place such that each element appear only once and return the new length. Do not…

Continue Reading
  • Posted on June 2, 2018February 2, 2021
  • Dynamic Programming

LeetCode 139. Word Break

Description Given a non-empty string s and a dictionary wordDict containing a list of non-empty words, determine if s can be segmented into a space-separated sequence of one or more…

Continue Reading
  • Posted on May 12, 2018January 16, 2021
  • Binary Tree

LeetCode 102. Binary Tree Level Order Traversal

Description https://leetcode.com/problems/binary-tree-level-order-traversal/ Given a binary tree, return the level order traversal of its nodes’ values. (ie, from left to right, level by…

Continue Reading
  • Posted on May 6, 2018July 17, 2021
  • Binary Tree

LeetCode 111. Minimum Depth of Binary Tree

Description https://leetcode.com/problems/minimum-depth-of-binary-tree/ Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the…

Continue Reading
  • Posted on April 28, 2018April 6, 2021
  • Binary Tree

LeetCode 110. Balanced Binary Tree

Description https://leetcode.com/problems/balanced-binary-tree/ Given a binary tree, determine if it is height-balanced. For this problem, a height-balanced binary tree is defined…

Continue Reading
  • Posted on April 21, 2018January 26, 2021
  • Binary Tree

LeetCode 104. Maximum Depth of Binary Tree

Description Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 54 Page 55 Page 56 … Page 59 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