leetcode-potd

1462. Course Schedule IV

leetcode-potd

There are a total of numCourses courses you have to take, labeled from 0 to numCourses – 1. You are given an array prerequisites where prerequisites[i] = [ai,

1765. Map of Highest Peak

leetcode-potd

You are given an integer matrix isWater of size m x n that represents a map of land and water cells. If isWater[i][j] == 0, cell (i, j) is a land cell. If isWater[i][j]

2017. Grid Game

leetcode-potd

You are given a 0-indexed 2D array grid of size 2 x n, where grid[r][c] represents the number of points at position (r, c) on the matrix. Two robots

Scroll to Top