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: Dynamic Programming

  • Posted on September 28, 2021September 28, 2021
  • Dynamic Programming

LeetCode 279. Perfect Squares

Description https://leetcode.com/problems/perfect-squares/ Given an integer n, return the least number of perfect square numbers that sum to n. A perfect square is an integer that…

Continue Reading
  • Posted on August 22, 2021September 12, 2021
  • Dynamic Programming

LeetCode 44. Wildcard Matching

Description https://leetcode.com/problems/wildcard-matching/ Given an input string (s) and a pattern (p), implement wildcard pattern matching with support for ‘?’ and ‘*’ where: ‘?’ Matches any…

Continue Reading
  • 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 September 2, 2020September 2, 2020
  • Dynamic Programming

LeetCode 152. Maximum Product Subarray

Description https://leetcode.com/problems/maximum-product-subarray/ Given an integer array nums, find the contiguous subarray within an array (containing at least one number) which has…

Continue Reading
  • Posted on August 4, 2020November 6, 2021
  • Dynamic Programming

LeetCode 300. Longest Increasing Subsequence

Description https://leetcode.com/problems/longest-increasing-subsequence/ Given an integer array nums, return the length of the longest strictly increasing subsequence. A subsequence is a sequence that can…

Continue Reading
  • Posted on July 29, 2020February 3, 2021
  • Dynamic Programming

LeetCode 322. Coin Change

Description https://leetcode.com/problems/coin-change/ You are given coins of different denominations and a total amount of money amount. Write a function to compute…

Continue Reading
  • Posted on April 26, 2020June 11, 2021
  • Dynamic Programming

LeetCode 1143. Longest Common Subsequence

Description https://leetcode.com/problems/longest-common-subsequence/ Given two strings text1 and text2, return the length of their longest common subsequence. If there is no common subsequence, return 0. A subsequence of a string is…

Continue Reading
  • Posted on April 25, 2020April 25, 2020
  • Dynamic Programming

LeetCode 55. Jump Game

Description https://leetcode.com/problems/jump-game/ Given an array of non-negative integers, you are initially positioned at the first index of the array. Each…

Continue Reading
  • Posted on April 18, 2020April 18, 2020
  • Dynamic Programming

LeetCode 64. Minimum Path Sum

Description https://leetcode.com/problems/minimum-path-sum/ Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of…

Continue Reading
  • Posted on April 10, 2020December 14, 2021
  • Dynamic Programming

LeetCode 204. Count Primes

Description https://leetcode.com/problems/count-primes/ Given an integer n, return the number of prime numbers that are strictly less than n. Example 1: Input: n =…

Continue Reading

Posts navigation

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