Email or username:

Password:

Forgot your password?
Niki Tonsky

When you really need visual programming but all you have is text

2 comments
Niki Tonsky

Yes I forgot how to check two intervals for intersection. But isn’t it fun to figure it out from the first principles?

Dan

@nikitonsky Isn't it as easy as finding intersection [max(l1, l2), min(r1, r2)] and checking that it's not empty?

Go Up