Showing 3 of 14 questions
You're given a rectangle represented by a matrix. Implement functions to update values within specified subrectangles and retrieve the value at a given coordinate.
#1. Subrectangle Queries
Imagine you're standing at a fixed location looking at points on a 2D plane. Determine the maximum number of points you can see within a given field of view by rotating your position.
#2. Maximum Number of Visible Points
You are given equations represented by pairs of variables and their corresponding values. Your task is to evaluate queries based on these equations, determining the value of expressions if possible, or returning -1.0 if not.
#3. Evaluate Division
Page 1 of 1 · 14 total