Pergunta de entrevista da empresa TikTok

Implement a graphing model showing how users would be ranked according to the given algorthm.