SQL: post type distribution
You have one table named content_action which has 5 fields:
Date,
User_id (content_creator_id),
Content_id (this is the primary key),
Content_type (with 4 types: status_update, photo, video, comment),
Target_id (it’s the original content_id associated with the comment, if the content type is not comment, this will be null)
Question:
1.find the distribution of stories(photo+video) based on comment count?
2.what if content_type becomes (comment/ post), what is the distribution of comments?
3.Now what if content_type becomes {comment, post, video, photo, article},what is the comment distribution for each content type?
Analytics
增加了切换用户的功能
有什么metrics可以衡量performance
Answer: number of new users,active user,time spend
如果发现新用户注册人数增加,但是insta总体time spent没有变化,这是为什么。
Answer: One user sign up multiple accounts, so the number of new accounts increase. But the overall time each user spend on Instagram doesn't change.
如何判断两个user是不是一个人注册的多个号
Answer: check the similarity of shared friends,shared followers,id
Last updated