JetBlue Interview Question

Just a simple and easy hashing problem