Community-driven challenges - No solutions shown!
These are interesting problems with no solutions shown. Submit your own solutions or problems to contribute!
15 challenges available
Given a 2D grid of empty land and island (0 and 1), dynamically add islands one by one and count total connected compone...
There is a new alien language which uses the latin alphabet. You are given a list of words written in this alien languag...
You are given an array points representing integer coordinates of some points on a 2D-plane, where points[i] = [xi, yi]....
You are given an n x n integer matrix grid where you are located at the top-left corner (0, 0) and must reach the bottom...
You are given an integer n which indicates that there are n courses labeled from 1 to n. You are also given an array rel...
Given a list of accounts where each element accounts[i] is a list of strings, where the first element accounts[i][0] is ...
There is an infrastructure of n cities with some number of roads connecting these cities. Each connected pair of cities ...
There is an undirected graph with n nodes where each node is labeled from 1 to n. You are given a 2D array graph where g...
There are n cities numbered from 0 to n - 1 and n - 1 roads such that there is only one way to travel between two differ...
Given an n x n binary matrix grid, return the length of the shortest clear path in the matrix. If there is no clear path...
A tree is an undirected graph in which any two nodes are connected by exactly one path. In other words, any connected gr...
You are given a network of n nodes labeled from 1 to n. You are also given times, a list of travel times as directed edg...
You are given an undirected weighted graph of n nodes (0-indexed), represented by an edge list where edges[i] = [a, b] i...
Given a directed acyclic graph (DAG) of n nodes labeled from 0 to n - 1, find all paths from node 0 to node n - 1 and re...
You are given a list of airline tickets where tickets[i] = [fromi, toi] represent a ticket from airport fromi to airport...