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 June 29, 2021June 29, 2021
  • LeetCode

LeetCode 1180. Count Substrings with Only One Distinct Letter

Description https://leetcode.com/problems/count-substrings-with-only-one-distinct-letter/ Given a string s, return the number of substrings that have only one distinct letter. Example 1: Input: s = “aaaba” Output:…

Continue Reading
  • Posted on June 27, 2021June 27, 2021
  • LeetCode

LeetCode 92. Reverse Linked List II

Description https://leetcode.com/problems/reverse-linked-list-ii/ Given the head of a singly linked list and two integers left and right where left <= right, reverse the nodes of the list from…

Continue Reading
  • Posted on June 27, 2021June 27, 2021
  • LeetCode

LeetCode 82. Remove Duplicates from Sorted List II

Description https://leetcode.com/problems/remove-duplicates-from-sorted-list-ii/ Given the head of a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the…

Continue Reading
  • Posted on June 26, 2021June 26, 2021
  • Backtracking

LeetCode 77. Combinations

Description https://leetcode.com/problems/combinations/ Given two integers n and k, return all possible combinations of k numbers out of the range [1, n]. You may return the answer in any…

Continue Reading
  • Posted on June 25, 2021June 25, 2021
  • Graph

LeetCode 547. Number of Provinces

Description https://leetcode.com/problems/number-of-provinces/ There are n cities. Some of them are connected, while some are not. If city a is connected directly with city b, and…

Continue Reading
  • Posted on June 24, 2021June 24, 2021
  • Graph

LeetCode 690. Employee Importance

Description https://leetcode.com/problems/employee-importance/ You have a data structure of employee information, which includes the employee’s unique id, their importance value, and…

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

LeetCode 1460. Make Two Arrays Equal by Reversing Sub-arrays

Description https://leetcode.com/problems/make-two-arrays-equal-by-reversing-sub-arrays/ Given two integer arrays of equal length target and arr. In one step, you can select any non-empty sub-array of arr and reverse it. You…

Continue Reading
  • Posted on June 22, 2021June 22, 2021
  • Database

LeetCode 511. Game Play Analysis I

Description https://leetcode.com/problems/game-play-analysis-i/ SQL Schema Table: Activity +————–+———+ | Column Name | Type | +————–+———+ | player_id | int | | device_id…

Continue Reading
  • Posted on June 21, 2021June 21, 2021
  • Database

LeetCode 1607. Sellers With No Sales

Description https://leetcode.com/problems/sellers-with-no-sales/ SQL Schema Table: Customer +—————+———+ | Column Name | Type | +—————+———+ | customer_id | int | | customer_name…

Continue Reading
  • Posted on June 20, 2021June 20, 2021
  • LeetCode

LeetCode 1903. Largest Odd Number in String

Description https://leetcode.com/problems/largest-odd-number-in-string/ You are given a string num, representing a large integer. Return the largest-valued odd integer (as a string) that is a non-empty substring of num,…

Continue Reading

Posts navigation

Previous Page Page 1 … Page 9 Page 10 Page 11 … 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