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 January 20, 2018May 18, 2020
  • Dynamic Programming

LeetCode 5. Longest Palindromic Substring

Description https://leetcode.com/problems/longest-palindromic-substring/description/ Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.…

Continue Reading
  • Posted on January 13, 2018September 23, 2020
  • Array

LeetCode 11. Container With Most Water

Description https://leetcode.com/problems/container-with-most-water/ Given n non-negative integers a1, a2, …, an , where each represents a point at coordinate (i, ai). n vertical lines are drawn such that the two…

Continue Reading
  • Posted on January 6, 2018March 25, 2018
  • LeetCode

LeetCode 42. Trapping Rain Water

Description https://leetcode.com/problems/trapping-rain-water/description/ Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water…

Continue Reading
  • Posted on December 23, 2017January 17, 2021
  • Backtracking

LeetCode 90. Subsets II

Description Given a collection of integers that might contain duplicates, nums, return all possible subsets (the power set). Note: The…

Continue Reading
  • Posted on December 16, 2017July 7, 2021
  • Backtracking

LeetCode 78. Subsets

Description https://leetcode.com/problems/subsets/ Given an integer array nums of unique elements, return all possible subsets (the power set). The solution set must not contain duplicate subsets. Return the…

Continue Reading
  • Posted on December 9, 2017January 31, 2021
  • LeetCode

LeetCode 21. Merge Two Sorted Lists

Description Merge two sorted linked lists and return it as a sorted list. The list should be made by splicing together the…

Continue Reading
  • Posted on December 2, 2017July 8, 2018
  • LeetCode

LeetCode 6. ZigZag Conversion

Description https://leetcode.com/problems/zigzag-conversion/description/ The string “PAYPALISHIRING” is written in a zigzag pattern on a given number of rows like this: (you may want…

Continue Reading
  • Posted on November 25, 2017January 23, 2021
  • Depth First Search

LeetCode 39. Combination Sum

Description https://leetcode.com/problems/combination-sum/ Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of candidates where the chosen numbers sum to target. You may…

Continue Reading
  • Posted on November 18, 2017January 23, 2021
  • Depth First Search

LeetCode 40. Combination Sum II

Description Given a collection of candidate numbers (candidates) and a target number (target), find all unique combinations in candidates where the candidate…

Continue Reading
  • Posted on November 11, 2017January 11, 2021
  • LeetCode

LeetCode 155. Min Stack

Description Design a stack that supports push, pop, top, and retrieving the minimum element in constant time. push(x) — Push…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 56 Page 57 Page 58 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