836. Rectangle Overlap

just draw the pic,

draw the ways of no interaction in left, right, top , buttom, then can conduct the result.

time: O(1)

space:(1)

Last updated

Was this helpful?