New answers tagged

2

The idea is practically the same for 1D, 2D or 3D or any other dimension. First let's talk about a 1D scenario: We have two segments along x axis, and we know their start and their ends. let them be s1,e1,s2,e2. So what's the requirement for these two lines to overlap? well, we can say the first line should start before the second one ends, and vise versa. ...



Top 50 recent answers are included