Faire Interview Questions

Faire Interview Guides

Click or hover over a slice to explore questions for that topic.
SQL
(57)
Data Structures & Algorithms
(47)
Machine Learning
(44)
A/B Testing
(17)
Probability
(17)

Faire Interview Questions

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

QuestionTopicDifficulty
SQL
Medium

There was a robbery from the ATM at the bank where you work. Some unauthorized withdrawals were made, and you need to help your bank find out more about those withdrawals.

However, the only information you have is that there was more than 1 withdrawal, they were all performed in 10-second gaps, and no legitimate transactions were performed in between two fraudulent withdrawals.

We’re given a table of bank transactions with three columns, user_id, a deposit or withdrawal value transaction_value, and created_at time for each transaction.

Write a query to retrieve all user IDs in ascending order whose transactions have exactly a 10-second gap from one another.

Note: Assume that there are only withdrawals from the ATM, which are denoted with a positive transaction_value

Example: 

Input:

bank_transactions table

Column Type
user_id INTEGER
created_at DATETIME
transaction_value FLOAT

For given table bank_transactions:

user_id created_at transaction_value
1 2017-01-01 10:10:15 10
2 2017-01-01 11:11:11 20
3 2017-01-01 12:12:12 10
4 2017-01-01 10:10:20 30
5 2017-01-01 10:10:34 40
6 2017-01-01 11:11:21 50

Output:

user_id
2
6
Behavioral
Medium
SQL
Easy
Loading pricing options

View all Indigo Fair questions

Challenge

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

Faire Salaries by Position

Data Engineer*
$195K
Data Engineer
Median: $195K
Mean (Average): $195K
Data points: 1
$83K
$144K
Software Engineer
Median: $93K
Mean (Average): $103K
Data points: 19
Product Manager*
$102K
Product Manager
Median: $102K
Mean (Average): $102K
Data points: 1

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

From the graph we can see that on average the Data Engineer role pays the most with a $195,000 base salary while the Product Manager role on average pays the least with a $102,000 base salary.

Discussion & Interview Experiences

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