leetcode-potd

2097. Valid Arrangement of Pairs

leetcode-potd

You are given a 0-indexed 2D integer array pairs where pairs[i] = [starti, endi]. An arrangement of pairs is valid if for every index i where 1 <= i < pairs.length, we […]

773. Sliding Puzzle

leetcode-potd

On an 2 x 3 board, there are five tiles labeled from 1 to 5, and an empty square represented by 0. A move consists of choosing 0 and a

1975. Maximum Matrix Sum

leetcode-potd

You are given an n x n integer matrix. You can do the following operation any number of times: Choose any two adjacent elements of matrix and multiply each of them

Scroll to Top