Loading...
Content Recommendation Engine
A medium SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- medium
- Seniority
- senior
Problem
For each user, find content items they haven't viewed but at least one of their chat contacts (from chat_msgs) has viewed. Return the user ID and the recommended content ID.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.