Showing 3 of 4 questions
Find the area of the largest square that can be formed within a binary matrix containing only 1s and 0s, where the square's sides consist only of 1s.
#1. Maximal Square
Find the number of contiguous subarrays within a given array whose product is strictly less than a target value k. The goal is to efficiently count these subarrays by considering the product of their elements.
#2. Subarray Product Less Than K
Implement a Tic-Tac-Toe game where players take turns placing their marks. Design the game logic to efficiently determine the winner after each move.
#3. Design Tic-Tac-Toe
Page 1 of 1 · 4 total