Intern Engineer Interview Questions

15,346 intern engineer interview questions shared by candidates

# List of tickets, in the form (origin, destination) ORIGINAL_TICKETS = [ ('SFO', 'LAX'), ('LAX', 'JFK'), ('JFK', 'LHR'), ('LHR', 'CDG'), ('CDG', 'DXB'), ('DXB', 'HKG'), ('HKG', 'HAM'), ] Write a function which given the original origin, find the final destination. Then write a function that would find both the original origin and final destination with only access to that ticket list. Finally write a function that finds a missing ticket given the original origin and final destination.
avatar

Software Engineer Intern

Interviewed at Yelp

3.2
Apr 11, 2014

# List of tickets, in the form (origin, destination) ORIGINAL_TICKETS = [ ('SFO', 'LAX'), ('LAX', 'JFK'), ('JFK', 'LHR'), ('LHR', 'CDG'), ('CDG', 'DXB'), ('DXB', 'HKG'), ('HKG', 'HAM'), ] Write a function which given the original origin, find the final destination. Then write a function that would find both the original origin and final destination with only access to that ticket list. Finally write a function that finds a missing ticket given the original origin and final destination.

Viewing 911 - 920 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 15,346 interview questions and reports from Intern engineer interviews. Prepare for your interview. Get hired. Love your job.