Rectangle Overlap at Qualcomm

Easy46.4% acceptance

This problem has 62.5% frequency at Qualcomm.

Problem Description

An axis-aligned rectangle is represented as a list `[x1, y1, x2, y2]`, where `(x1, y1)` is the coordinate of its bottom-left corner, and `(x2, y2)` is the coordinate of its top-right corner. Its top and bottom edges are parallel to the X-axis, and its left and right edges are parallel to the Y-axis....

Read full problem and hints

Topics

Also asked at 4 companies


More Qualcomm Questions

View all Qualcomm questions