leetcode-potd

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

2683. Neighboring Bitwise XOR

leetcode-potd

A 0-indexed array derived with length n is derived by computing the bitwise XOR (⊕) of adjacent values in a binary array original of length n. Specifically, for each index i in the range [0,

2425. Bitwise XOR of All Pairings

leetcode-potd

You are given two 0-indexed arrays, nums1 and nums2, consisting of non-negative integers. There exists another array, nums3, which contains the bitwise XOR of all pairings of integers

2429. Minimize XOR

leetcode-potd

Given two positive integers num1 and num2, find the positive integer x such that: x has the same number of set bits as num2, and The value x

Scroll to Top