The solution to a questions I was asked at an EMC interview.