Microsoft Interview Question

Write data structure or design , how you will schedule flight under given constraint.