Fidessa Interview Question

Matching pairs and airport gate problem.