Pregunta de entrevista de highlevel

A leetcode medium question based on greedy algorithms. Design and code a fully function social media platform