Interview Query

Trending Sort

Have you seen this question before?

Let’s say that you work at Reddit. The CEO wants to increase the overall engagement on Reddit. They decide that one way to do this is to build a “hot posts” or “trending posts” sort feature.

If you were in charge of leading the project, how would you approach the problem and build this feature?

Next question: Slow SQL Query
Loading comments