Practice for the Lime interview with these recently asked interview questions.
| Question | Topic | Difficulty | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
SQL | Hard | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Lime’s consumer app team wants to measure the number of users who return to the app after their initial login. Given a user_logins table that records each user’s login by date, write a query to produce a daily summary with retention and engagement metrics. For each date that appears in the user_logins table, calculate daily retention metrics including cohort size, 7-day retention, retention rate, and rolling 7-day active users. (A cohort for a given date consists of all users who logged in on that specific date (regardless of whether it was their first login or a subsequent login). Notes:
Schema:Input:
Output:
Example:Input:
Output:
Explanation: Retention is calculated for users who return within 7 days after their first login on a given day. Rolling 7-day user counts unique users over the current and previous 6 days.* Suppose the current
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Statistics | Easy | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Statistics | Easy | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
SQL | Easy | |
Machine Learning | Medium | |
Statistics | Medium | |
SQL | Hard | |
Machine Learning | Medium | |
Python | Easy | |
Deep Learning | Hard | |
SQL | Medium | |
Statistics | Easy | |
Machine Learning | Hard |
Check your skills...
How prepared are you for working at Lime?
Most data science positions fall under different position titles depending on the actual role.
From the graph we can see that on average the Software Engineer role pays the most with a $212,000 base salary while the Software Engineer role on average pays the least with a $212,000 base salary.
Discussion & Interview Experiences