Expel Interview Question

Have you ever written a detection for a difficult scenario? How did you do it?