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

  • Posted on November 29, 2021November 29, 2021
  • Graph

LeetCode 1293. Shortest Path in a Grid with Obstacles Elimination

Description https://leetcode.com/problems/shortest-path-in-a-grid-with-obstacles-elimination/ You are given an m x n integer matrix grid where each cell is either 0 (empty) or 1 (obstacle). You can move up, down, left,…

Continue Reading
  • Posted on November 20, 2021November 20, 2021
  • Graph

LeetCode 1059. All Paths from Source Lead to Destination

Description https://leetcode.com/problems/all-paths-from-source-lead-to-destination/ Given the edges of a directed graph where edges[i] = [ai, bi] indicates there is an edge between nodes ai and bi, and two nodes source and destination of…

Continue Reading
  • Posted on October 29, 2021November 15, 2021
  • Graph

LeetCode 1631. Path With Minimum Effort

Description https://leetcode.com/problems/path-with-minimum-effort/ You are a hiker preparing for an upcoming hike. You are given heights, a 2D array of size rows x…

Continue Reading
  • Posted on October 26, 2021October 26, 2021
  • Graph

LeetCode 1197. Minimum Knight Moves

Description https://leetcode.com/problems/minimum-knight-moves/ In an infinite chess board with coordinates from -infinity to +infinity, you have a knight at square [0, 0]. A knight has 8 possible moves it…

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

LeetCode 444. Sequence Reconstruction

Description https://leetcode.com/problems/sequence-reconstruction/ Check whether the original sequence org can be uniquely reconstructed from the sequences in seqs. The org sequence is a permutation of the…

Continue Reading
  • Posted on September 10, 2021September 10, 2021
  • Graph

LeetCode 305. Number of Islands II

Description https://leetcode.com/problems/number-of-islands-ii/ You are given an empty 2D binary grid grid of size m x n. The grid represents a map where 0‘s represent…

Continue Reading
  • Posted on August 22, 2021August 23, 2021
  • Graph

LeetCode 785. Is Graph Bipartite?

Description https://leetcode.com/problems/design-add-and-search-words-data-structure/ There is an undirected graph with n nodes, where each node is numbered between 0 and n – 1. You are given a 2D array graph,…

Continue Reading
  • Posted on August 20, 2021October 13, 2021
  • Graph

LeetCode 133. Clone Graph

Description https://leetcode.com/problems/clone-graph/ Given a reference of a node in a connected undirected graph. Return a deep copy (clone) of the graph. Each node in…

Continue Reading
  • Posted on July 19, 2021July 19, 2021
  • Graph

LeetCode 994. Rotting Oranges

Description https://leetcode.com/problems/rotting-oranges/ You are given an m x n grid where each cell can have one of three values: 0 representing an empty cell,…

Continue Reading
  • Posted on July 5, 2021July 5, 2021
  • Graph

LeetCode 721. Accounts Merge

Description https://leetcode.com/problems/accounts-merge/ Given a list of accounts where each element accounts[i] is a list of strings, where the first element accounts[i][0] is a name, and the…

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