Bnsf Railway Interview Questions

Bnsf Railway Interview Guides

Click or hover over a slice to explore questions for that topic.
SQL
(61)
Data Structures & Algorithms
(55)
Machine Learning
(52)
Data Modeling
(19)
A/B Testing
(17)

Bnsf Railway Interview Questions

Practice for the Bnsf Railway interview with these recently asked interview questions.

QuestionTopicDifficulty
SQL
Medium

Let’s say you work for a small airline. You’re given three tables: flights, planes, and flight_purchases.

Write a query to find the number of unpurchased seats for each flight.

For the purposes of this question, assume that there will be no entries in the flight_purchases table for flights or seats that do not exist.

Example:

Input:

flights table

Column Type
id INTEGER
plane_id INTEGER

planes table

Column Type
id INTEGER
number_of_seats INTEGER

flight_purchases table

Column Type
flight_id INTEGER
seat_id INTEGER

Output:

Column Type
flight_id INTEGER
free_seats INTEGER
Data Structures & Algorithms
Medium
Machine Learning
Easy
Loading pricing options

View all Bnsf Railway questions

Challenge

Check your skills...
How prepared are you for working at Bnsf Railway?

Discussion & Interview Experiences

?
There are no comments yet. Start the conversation by leaving a comment.

Discussion & Interview Experiences

There are no comments yet. Start the conversation by leaving a comment.

Jump to Discussion