Skip to main content

helpful Problem Solving Types

Rectangle Geometry

intersectionLine = min(b, d) - max(a, c)

caution

bigger starting point < smaller ending point

i.e. the biggest starting point is always before the smallest ending, so their is overap and we can find the intersection line using min(b, d) - max(a, c)

MUST

  • see it in the guide : there are common formulas