Compass Interview Questions

Compass Interview Guides

Click or hover over a slice to explore questions for that topic.
Data Structures & Algorithms
(61)
SQL
(57)
Machine Learning
(48)
Probability
(30)
Statistics
(20)

Compass Interview Questions

Practice for the Compass interview with these recently asked interview questions.

QuestionTopicDifficulty
Data Structures & Algorithms
Hard

Consider a trip from one city to another that may contain many layovers. Given the list of flights out of order, each with a starting city and end city, write a function plan_trip to reconstruct the path of the trip so the trip tickets are in order.

Example:

For a trip from Bombay to Beijing:

Input:

flights = [
    ['Chennai', 'Bangalore'], 
    ['Bombay', 'Delhi'], 
    ['Goa', 'Chennai'], 
    ['Delhi', 'Goa'], 
    ['Bangalore', 'Beijing']
]
output = [
    ['Bombay', 'Delhi'], 
    ['Delhi', 'Goa'], 
    ['Goa', 'Chennai'], 
    ['Chennai', 'Bangalore'], 
    ['Bangalore', 'Beijing'],
]
SQL
Easy
SQL
Easy
Loading pricing options

View all Compass questions

Challenge

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

Compass Salaries by Position

$174K
$224K
ML Engineer
Median: $210K
Mean (Average): $202K
Data points: 3
$110K
$229K
Product Manager
Median: $190K
Mean (Average): $179K
Data points: 10
$150K
$195K
Data Engineer
Median: $170K
Mean (Average): $172K
Data points: 7
$75K
$248K
Software Engineer
Median: $156K
Mean (Average): $164K
Data points: 105
Business Intelligence*
$119K
$182K
Business Intelligence
Median: $150K
Mean (Average): $150K
Data points: 2
$71K
$88K
Data Analyst
Median: $76K
Mean (Average): $77K
Data points: 6
Business Analyst*
$59K
$60K
Business Analyst
Median: $59K
Mean (Average): $59K
Data points: 2

Most data science positions fall under different position titles depending on the actual role.

From the graph we can see that on average the ML Engineer role pays the most with a $201,667 base salary while the Business Analyst role on average pays the least with a $59,335 base salary.

Discussion & Interview Experiences

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