All tasks

Complete Social Graph (Master)

Master

Master-level task from Meta/LinkedIn. **Condition:** Analyze the social graph of users and find "influential" users. **Tables:** follows, users, posts, likes, comments **Requirements:** 1. For each user, calculate: - direct_followers (direct followers) - reach_2_levels (followers + followers of followers, unique) - mutual_connections (number of mutual follows) - engagement_rate (likes + comments on posts / number of followers) - influence

Category
Graph Analytics
Estimated time
~60 min
Databases
PostgreSQLGreenplum
Tags
FAANGInterviewSocial GraphRecursive CTEInfluenceMaster

Sign in to solve

Start Solving