TikTok interview question

Dijkstra's algorithm for a recommendation system