Reddit Interview Prep

Reddit has the thinnest reported question data of any company on this site — five tagged problems. Three of those five are “design a data structure to a specification” and one is a breadth-first search, which is a small but genuine signal: the coding rounds reward building something clean to an interface over producing an exotic algorithm. Candidates also report being asked for a brute-force solution first and then an optimisation, with complexity stated out loud at each step.

That leaves the domain doing most of the work, and it is a good domain to be interviewed on. Reddit is a ranked feed over deeply nested comment trees with vote counts attached to everything. Almost any Reddit design prompt is a recombination of three problems: how the feed is ranked, how the comment tree is stored and loaded, and how votes are counted at scale. Those three are written out below, because with five reported questions the editorial is the page.


Interview Process

Stage Duration Focus
Recruiter Screen 30 min Background, team area, level
Technical Phone Screen 45-60 min One coding problem. Brute force first, then optimise
Onsite: Coding 1 45-60 min Data structures, often with a design flavour
Onsite: Coding 2 45-60 min Follow-up heavy. Complexity discussed throughout
Onsite: System Design 45-60 min Feed, comments, counting, or ads depending on team
Onsite: Behavioural / Hiring Manager 45 min Ownership, collaboration, product judgment

The onsite is commonly reported as four to five rounds, and the end-to-end process is reported as faster than the comparable FAANG loops. Which rounds you get depends heavily on team: feed and ranking, ads, infrastructure, and trust and safety all weight the design round differently, and the design round is not universal at junior levels.

This is the sparsest process data on the site, so treat the table above as a shape rather than a schedule and ask your recruiter for the actual round list. One behaviour is worth copying from the reports regardless of team: give the brute force explicitly, state its complexity, then optimise. Candidates describe interviewers waiting for exactly that sequence.


What Reddit Actually Tests

Reddit has a small reported question pool — 5 tagged problems (1 Easy, 3 Medium, 1 Hard). That is too few to break down by percentage, but it is useful information on its own: a narrow pool means the specific problems below carry real weight, and your odds of drawing one you have already solved are much better than at a company with a two-thousand-problem list.

Work through the whole list rather than sampling it, and lean on the process and design sections on this page for the rounds the question data cannot tell you about.


System Design (HLD) Problems Asked at Reddit

# Problem Difficulty Link
1 Q&A Forum (posts with nested comments) Advanced Read →
2 Twitter Feed (ranked home feed) Intermediate Read →
3 Trending Topics (hot ranking) Advanced Read →
4 News Aggregator Intermediate Read →
5 Leaderboard (vote counts and rankings) Intermediate Read →
6 Ad Click Aggregation Advanced Read →
7 Search Autocomplete Intermediate Read →
8 Notification System Intermediate Read →
9 Distributed Cache Intermediate Read →
10 Rate Limiter Beginner Read →

LLD / Machine Coding Problems Asked at Reddit

Reddit does not run a round named low-level design. These are here because three of the five reported Reddit-tagged problems are data structure design problems, so building a component to an interface is the single most likely coding round shape. Practice them as 45-minute exercises with the follow-up included.

# Problem Difficulty Link
1 Pub-Sub System Intermediate Read →
2 Multilevel Cache Intermediate Read →
3 Rate Limiter Beginner Read →
4 Queue Management Intermediate Read →
5 Task Scheduler Intermediate Read →

DSA Problems Asked at Reddit

5 problems across 3 pattern groups. The reported list is short enough that this is all of it, rather than a ranked selection from it.

Design (Coding)

Build a data structure to a spec. Graded on API shape and the complexity of each operation, not just correctness. All 3 on the list.

# Problem Pattern Difficulty Link
1 Design Hit Counter Data Stream + Queue Medium Solve →
2 Logger Rate Limiter Data Stream + Design Easy Solve →
3 LRU Cache Doubly Linked List + Design Medium Solve →

Graphs

Traversal, connectivity, ordering, and shortest paths. The hardest bucket to fake — either you have drilled it or you have not. One on the list.

# Problem Pattern Difficulty Link
4 Word Ladder Bidirectional Search + BFS Hard Solve →

Arrays & Hashing

Prefix sums, counting, and grid walks. The warm-up round, and the one people get careless on. One on the list.

# Problem Pattern Difficulty Link
5 Number of Ways to Buy Pens and Pencils Enumeration + Math Medium LeetCode →

Three Reddit Problems Worth Knowing Cold

With five reported questions, this is the part of the page to actually study. Each of these is a standalone design answer, and every Reddit design prompt we have seen reported is a combination of two of them.

1. Ranking the feed

The ask: build the home feed and the subreddit front page. Posts should surface while they are active and fall away as they age.

The naive answer: sort by vote count, or sort by recency. Both fail visibly. Pure votes means the front page never changes and an old post with a huge score is immovable. Pure recency means quality is irrelevant and the feed is noise.

What works: a score that combines net votes with age so that newer posts need fewer votes to compete, stored on the post and used as the sort key. Bucket the time component — per hour, say — so the score only changes when votes arrive or the bucket rolls over, instead of needing a global recompute. Precompute the ranked list per subreddit, cache it, and refresh it on an interval rather than per request.

Where interviewers push:

  • The personalised home feed is a different problem from a subreddit page. For a user following a handful of subreddits you can merge their cached ranked lists on read; for a user following hundreds you need a precomputed feed or a candidate-generation step.
  • What happens to a brand new post with zero votes. There has to be a path to visibility, usually a separate new or rising surface feeding the ranked one.
  • Vote manipulation. Rate limits, account age and reputation weighting, and after-the-fact rescoring when fraud is detected.
  • Read-your-writes: a user who posts should see their own post immediately even if the ranked cache has not refreshed.

2. Storing and loading comment trees

The ask: comments nest arbitrarily deep, threads can have hundreds of thousands of them, and the page must load quickly.

The naive answer: a recursive structure walked on read, or a recursive SQL query per page view. Both collapse on a large thread, and the recursive query is where people get into trouble.

What works: store comments in a flat table, one row per comment, with a parent identifier and a materialised path or sort key encoding the ancestry. The tree is then a range scan plus a sort, not a traversal. Fetch a bounded slice — the top N top-level comments and a limited depth beneath each — and render everything else behind an explicit “load more” that fetches a subtree on demand. Cache the rendered hot slice of popular threads, because a small number of threads take a very large share of reads.

Where interviewers push:

  • Sort order. Top, new, and controversial are different sorts over the same subtree, which argues for storing the score alongside the path and sorting on read within the bounded slice.
  • Depth limits. Why collapse beyond a certain depth, and what the client does with the collapsed subtree.
  • Edits and deletes in the middle of a tree. Tombstones rather than real deletes, so children keep their ancestry.
  • Writes. A new comment appends one row and invalidates a cached slice, which is why flat storage beats anything that rewrites the tree.

3. Counting votes at scale

The ask: every post and comment has a score, every user action changes it, and the number is read far more often than it is written.

The naive answer: increment a counter column on every vote. Hot rows become a write bottleneck, the same vote arriving twice double-counts, and a user changing their vote from up to down has to be handled as a delta rather than an increment.

What works: record the vote itself as the source of truth, keyed on user plus target, so a repeat vote is an idempotent upsert and a change of mind is an update with a computable delta. Push the aggregation off the read path: write vote events to a queue or log, aggregate them in batches, and update a materialised score the feed reads. Accept that the displayed score lags slightly and is approximate, and say so — this is a deliberate product decision, not a bug.

Where interviewers push:

  • Idempotency. The same vote submitted twice from a flaky mobile connection must not count twice.
  • The hot partition. One extremely popular post concentrating writes, handled by sharding counters and summing on read, or by batching per interval.
  • Consistency at the edges. The voting user should see their own vote reflected immediately even while the aggregate is still catching up.
  • Fraud. Vote weighting, delayed scoring, and the ability to recompute a score from the vote records after removing bad actors — which is only possible because the votes, not the counter, are the source of truth.

If you can deliver these three cleanly, you can answer any feed, comments, or counting prompt by composing them.


Coding Problems That Fit Reddit’s Domain (Our Picks)

These are editorial picks by domain fit, not reported frequency. Reddit’s reported tag data is five problems, which is nowhere near enough to prepare from, so this list is assembled from the patterns their domain and reported round style imply: data structure design, counting and top-k, trees, and graph traversal.

Shape Why it fits Practice
Post, follow, and read a merged feed The feed problem in miniature, including fan-out on read Design Twitter →
Scores with add, top, and reset operations Vote aggregation and ranking behind an API Design a Leaderboard →
Fixed-capacity cache with eviction Caching the hot slice of threads and feeds. Reported at Reddit LRU Cache →
Count events in a sliding window Vote-rate limiting and counting. Reported at Reddit Design Hit Counter →
Allow one message per key per interval Anti-spam and vote throttling. Reported at Reddit Logger Rate Limiter →
Requests inside a time window The same throttling problem without premium access Number of Recent Calls →
Most frequent elements in a stream Trending topics and hot subreddits Top K Frequent Elements →
Stack keyed by frequency Counting structure design with a twist Maximum Frequency Stack →
Increment, decrement, and get extremes in constant time Score bookkeeping behind a clean API All O’one Data Structure →
Iterate an arbitrarily nested structure Comment trees flattened for rendering Flatten Nested List Iterator →
Common ancestor in a tree Thread ancestry and permalink context Lowest Common Ancestor of a Binary Tree →
Merge many sorted sources Merging ranked lists from several subreddits Merge k Sorted Lists →
Group identities that share an attribute Account linking, duplicate and ban evasion detection Accounts Merge →
Shortest transformation through a graph Reported at Reddit. Drill bidirectional search Word Ladder →
Running median of a stream Percentile reporting over engagement metrics Find Median from Data Stream →
Prefix search structure Subreddit and user autocomplete Design Add and Search Words Data Structure →

Rows marked “reported at Reddit” are from the tagged data. Everything else is a domain-fit recommendation — useful preparation, but do not present it as known Reddit history.


How to Spend Two Weeks on a Thin-Data Company

The pattern-derived plan on this page is necessarily short, because five reported problems cannot fill two weeks. This is a more honest allocation for Reddit specifically.

Days Focus What that means
1 All five reported problems Work through the full reported list. It is short enough to finish in a session and the odds of drawing one are better than at a company with a thousand-problem list
2-3 Data structure design LRU and LFU caches, hit counters, rate limiters, frequency structures. Build each to an interface, then handle the follow-up
4-5 Counting and top-k Heaps, bucket counting, streaming medians, trending lists
6-7 Trees and graphs Traversal, ancestry, connected components, bidirectional search
8-9 Feed ranking and comment trees The first two domain problems above, drawn and explained end to end, out loud
10 Vote counting at scale The third domain problem, including idempotency and the hot partition
11 General medium fluency Sliding window, two pointers, intervals. Timed, no hints
12 Mock design round 45 minutes on one of the HLD pages above, with a timer and no notes
13 Behavioural stories Four stories, including one on ambiguous or community-driven requirements
14 Review and rest Re-read your notes on the three domain problems. Sleep

The shift relative to a data-rich company is deliberate: less time ranking patterns by frequency, more time on the domain, because the domain is what the design round will actually be about.


Behavioural Round

# Question
1 Tell me about a feature you shipped where the metrics did not move. What did you do next?
2 Describe a time you disagreed with a product decision and how you handled it.
3 Tell me about a system you had to scale after it was already in production.
4 Describe a time you worked on something with a messy, community-driven set of requirements.
5 Tell me about a bug that only showed up at scale.
6 Describe how you handled an on-call incident from page to post-mortem.
7 Tell me about a trade-off you made between moderation or safety and product velocity.
8 Why Reddit, and which part of the platform would you want to work on?

Reddit is a community product, so questions about ambiguous requirements, moderation trade-offs, and shipping against noisy feedback land more often than pure scale stories. Have one answer ready about handling a decision where users and metrics disagreed.


Tips for Reddit Interviews

  1. Give the brute force first, out loud. Multiple reports describe interviewers asking for the naive solution with its complexity before the optimisation. Volunteer it rather than jumping to the clever answer.
  2. Prepare the three domain problems cold. Feed ranking, comment tree storage, and vote counting. They are written out in full on this page and they cover almost every reported Reddit design prompt.
  3. Drill data structure design problems. With three of five reported questions in that bucket, an hour on LRU-style design beats an hour on dynamic programming for this loop specifically.
  4. Know one decaying ranking formula properly. A score built from net votes and age, bucketed so it does not need recomputing constantly. Being able to explain why a pure vote count fails is the point, not reciting a specific formula.
  5. Have an answer for the celebrity thread. A post with hundreds of thousands of comments and votes breaks naive designs. Fan-out on read for large subreddits, async vote aggregation, and caching the hot slice of the tree.
  6. Ask which team you are interviewing for. Feed and ranking, ads, and trust and safety produce noticeably different design rounds. The recruiter will usually tell you if you ask.
  7. Do not over-prepare on frequency data. Five reported problems is not a syllabus. Work through all five, then spend the rest of your time on the domain and on general medium-level fluency.

Other Company Prep


Reddit has the smallest reported question pool of any company on this site, and the process detail here comes from scattered candidate reports rather than a published loop, so both are less reliable than the equivalents on our data-rich pages. The round table is a commonly reported shape, not a schedule, and it varies by team and level. The domain sections and the problem picks marked "our picks" are hand-written editorial based on how Reddit's product works, not reported interview history — treat them as preparation guidance and confirm your actual round list with your recruiter.