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 May 31, 2021November 5, 2021
  • Dynamic Programming

LeetCode 120. Triangle

Description https://leetcode.com/problems/triangle/ Given a triangle array, return the minimum path sum from top to bottom. For each step, you may move to an…

Continue Reading
  • Posted on May 30, 2021May 30, 2021
  • Array

LeetCode 57. Insert Interval

Description https://leetcode.com/problems/insert-interval/ Given a set of non-overlapping intervals, insert a new interval into the intervals (merge if necessary). You may assume that…

Continue Reading
  • Posted on May 29, 2021May 29, 2021
  • Binary Search

LeetCode 74. Search a 2D Matrix

Description https://leetcode.com/problems/search-a-2d-matrix/ Write an efficient algorithm that searches for a value in an m x n matrix. This matrix has the following…

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

LeetCode 1184. Distance Between Bus Stops

Description https://leetcode.com/problems/distance-between-bus-stops/ A bus has n stops numbered from 0 to n – 1 that form a circle. We know the distance between all pairs of neighboring stops…

Continue Reading
  • Posted on May 28, 2021May 28, 2021
  • LeetCode

LeetCode 1417. Reformat The String

Description https://leetcode.com/problems/reformat-the-string/ Given alphanumeric string s. (Alphanumeric string is a string consisting of lowercase English letters and digits). You have to find…

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

LeetCode 1640. Check Array Formation Through Concatenation

Description https://leetcode.com/problems/check-if-array-is-sorted-and-rotated/ You are given an array of distinct integers arr and an array of integer arrays pieces, where the integers in pieces are distinct. Your goal is…

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

LeetCode 1752. Check if Array Is Sorted and Rotated

Description https://leetcode.com/problems/check-if-array-is-sorted-and-rotated/ Given an array nums, return true if the array was originally sorted in non-decreasing order, then rotated some number of positions (including zero).…

Continue Reading
  • Posted on May 26, 2021May 26, 2021
  • LeetCode

LeetCode 890. Find and Replace Pattern

Description https://leetcode.com/problems/find-and-replace-pattern/ Given a list of strings words and a string pattern, return a list of words[i] that match pattern. You may return the answer in any order.…

Continue Reading
  • Posted on May 26, 2021May 26, 2021
  • LeetCode

LeetCode 1869. Longer Contiguous Segments of Ones than Zeros

Description https://leetcode.com/problems/longer-contiguous-segments-of-ones-than-zeros/ Given a binary string s, return true if the longest contiguous segment of 1s is strictly longer than the longest contiguous segment of 0s in s. Return false otherwise. For example, in s…

Continue Reading
  • Posted on May 25, 2021May 25, 2021
  • Backtracking

LeetCode 1641. Count Sorted Vowel Strings

Description https://leetcode.com/problems/count-sorted-vowel-strings/ Given an integer n, return the number of strings of length n that consist only of vowels (a, e, i, o, u) and are lexicographically sorted. A…

Continue Reading

Posts navigation

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