Problem library

Graph

All problems that are about graph.

74 / 74 problems
Problem Solved
Number of increasing paths in a grid
dynamic-programming graph
Jun 17, 2023
Time needed to inform all employees
graph
Jun 2, 2023
Shortest path in binary matrix
graph
Jun 1, 2023
Sentence similarity
array-and-hashmap graph
Feb 1, 2023
Find closest node to given two nodes
graph
Jan 25, 2023
Lexicographically smallest equivalent string
graph
Jan 14, 2023
Minimum time to collect all apples in a tree
tree graph
Jan 11, 2023
Check if there is a valid path in a grid
graph
Jan 4, 2023
K highest ranked items within a price range
heap graph
Jan 2, 2023
Synonymous sentences
graph
Dec 27, 2022
Number of distinct islands
graph
Dec 24, 2022
Maximal network rank
graph
Dec 21, 2022
Possible bipartition
graph
Dec 21, 2022
Number of closed islands
graph
Dec 16, 2022
Minimum cost to buy apples
graph
Dec 7, 2022
Find center of star graph
graph
Dec 5, 2022
Minimum score of a path between two cities
graph
Dec 5, 2022
Number of connected components in an undirected graph
graph
Dec 3, 2022
Connecting cities with minimum cost
graph
Dec 2, 2022
Minimum cost to reach city with discounts
graph
Dec 2, 2022
Nearest exit from entrance in maze
graph
Nov 21, 2022
Number of operations to make network connected
graph
Nov 21, 2022
Number of ways to arrive at destination
graph
Nov 20, 2022
Path with maximum probability
graph
Nov 20, 2022
Frog position after t seconds
graph
Nov 18, 2022
Most stones removed with same row or column
graph
Nov 14, 2022
Minimum number of vertices to reach all nodes
graph
Nov 6, 2022
Find all possible recipes from given supplies
graph
Oct 31, 2022
Shortest path in a grid with obstacles elimination
graph
Oct 30, 2022
Minesweeper
graph
Oct 26, 2022
Shortest bridge
graph
Oct 26, 2022
Open the lock
graph
Oct 24, 2022
Flood fill
graph
Sep 28, 2022
Satisfiability of equality equations
graph
Sep 26, 2022
Minimum genetic mutation
graph
Sep 16, 2022
Is graph bipartite
graph
Sep 13, 2022
Find the city with the smallest number of neighbors at a threshold distance
graph
Sep 11, 2022
Number of restricted paths from first to last node
graph
Sep 11, 2022
Coloring a border
graph
Sep 10, 2022
Island perimeter
graph
Sep 10, 2022
Keys and rooms
graph
Sep 7, 2022
Lexicographical numbers
graph
Sep 6, 2022
All ancestors of a node in a directed acyclic graph
graph
Sep 5, 2022
Battleships in a board
graph
Sep 5, 2022
Course schedule IV
graph
Sep 5, 2022
House robber III
graph
Sep 5, 2022
Number of enclaves
graph
Sep 5, 2022
Evaluate division
graph
Sep 4, 2022
Reachable nodes with restrictions
graph
Sep 2, 2022
Minimum height trees
graph
Sep 1, 2022
Number of islands
graph
Aug 29, 2022
Number of provinces
graph
Aug 29, 2022
Count servers that communicate
graph
Aug 25, 2022
Word ladder II
graph
Aug 14, 2022
Redundant connection
graph
Aug 12, 2022
Walls and gates
graph
Aug 12, 2022
Word ladder
graph
Aug 12, 2022
Pacific atlantic water flow
graph
Aug 11, 2022
Surrounded regions
graph
Aug 11, 2022
Clone graph
graph
Aug 8, 2022
Find eventual safe states
graph
Aug 2, 2022
Min cost to connect all points
graph
Jul 28, 2022
reconstruct-itinerary
graph
Jul 28, 2022
Swim in rising water
graph
Jul 28, 2022
Alien dictionary
graph
Jul 26, 2022
Cheapest flights within k stops
graph
Jul 26, 2022
Network delay time
graph
Jul 26, 2022
Verifying an alien dictionary
graph
Jul 26, 2022
Number of connected components in an undirected graph
graph
Jul 25, 2022
Graph valid tree
graph
Jul 21, 2022
Course schedule II
graph
Jul 16, 2022
Course schedule
graph
Jul 16, 2022
Rotting oranges
graph
Jul 12, 2022
Max area of island
graph
Jul 11, 2022