Rockstar Games Interview Question

Find the intersection of a ray with a triangle.