Falling Squares at Square
Hard47.3% acceptance
This problem has 100.0% frequency at Square.
Problem Description
There are several squares being dropped onto the X-axis of a 2D plane. You are given a 2D integer array `positions` where `positions[i] = [lefti, sideLengthi]` represents the `ith` square with a side length of `sideLengthi` that is dropped with its left edge aligned with X-coordinate `lefti`. Each...
Read full problem and hintsTopics
Also asked at 2 companies
More Square Questions
Available Captures for RookEasyWord BreakMediumNumber of Black BlocksMediumCount Nice Pairs in an ArrayMediumRotating the BoxMedium
View all Square questions