Overlapping rectangles

if these two rectangles touch via edges then,should we consider them as overlapping or not.

hi @akshugoyal705 according to the question statement
Two rectangles overlap if the area of their intersection is positive. To be clear, two rectangles that only touch at the corner or edges do not overlap.

So no you should not consider these rectangles as overlapping.

please help me in debugging my code ,it is lacking only one test case

@akshugoyal705 can you explain your logic a bit?

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.