Samsara Interview Question

Multi part pair programming for auto-engine alert system. Nothing much of an algorithm difficulty.