Reddit frontend tech screens ask you to render nested comments from a flat list, in React or vanilla JavaScript. Here is what members report.
This guide is built from 2 Reddit interview reports that FrontendLead members posted between May 2025 and July 2025, plus the 12 coding questions members have tagged with Reddit. It covers only what members reported, so stages nobody has written about are left out instead of guessed. The exact prompts are in the members-only section below.
The biggest pattern: Both tech screens were the same idea: take a flat array of comments with ids and parent ids, build the tree, and render the replies with the right nesting.
By Shivam Bhalla · Updated
01Reddit frontend interview at a glance
- Tech screen
- Render nested comment replies from flat data (2 reports)
- Framework
- React in one report; vanilla JavaScript preferred in the other, with React allowed
- What helped
- One member passed without the most efficient solution by talking through it and asking questions
- Tagged questions
- 12, mostly small React components and hooks
- Evidence
- 2 member reports and 12 member-tagged questions
02Reddit frontend interview process
These are the stages members have reported. The order and number of rounds can differ by team and level, so confirm your loop with your recruiter.
- 1
Technical screen
2 reports, 2025Two senior frontend candidates got a comment-rendering problem. One was given JSON data of comments in a flat array, each with an id and a parent id, inside an editor that already had a plain React app and a basic comment component. The other was asked to build the UI in vanilla JavaScript and could use React if not comfortable with that.
03Questions Reddit candidates were asked
Premium
These prompts come from member reports and member-tagged questions.
Render nested comments from a flat array
Senior frontend, tech screen, 2 reportsGiven a flat list of comments, each with an id and a parent id, render them in the correct order with the correct nesting. One report describes it as two parts: reshape the data from the server, then use it to display replies. The member who passed suggests building a map from parent id to child ids and a map from id to comment in one loop, then rendering a comment component that renders its children.
Practice: Nested Comments I and Nested Comments II.
Small React components members tagged with Reddit
Tagged by membersMembers tagged several form and widget builds with Reddit: a signup form, a support ticket form, a trip date picker, a loan calculator, a crosswalk signal, and a stopwatch.
Practice: Signup Form, Support Ticket Form, Trip Date Booker, Auto Loan Calculator, Crosswalk Traffic Signal, and Lap Split Stopwatch.
Hooks and utilities members tagged with Reddit
Tagged by membersThe tagged list also includes two timing hooks and two data questions.
Practice: useScheduledAction, useHeartbeat, Remove Duplicate Values, and Network Cluster Sizes.
04How to prepare for the Reddit frontend interview
This plan follows the questions members reported, in order of how often they came up.
| Days | Focus | Practice |
|---|---|---|
| 1 to 2 | Nested comments, both versions | Nested Comments I, Nested Comments II |
| 3 | The same problem in vanilla JavaScript | Build the comment tree and render it with DOM APIs only, no framework |
| 4 to 5 | Small form components | Signup Form, Support Ticket Form |
| 6 to 7 | Timing hooks | useScheduledAction, useHeartbeat |
If you have interviewed at Reddit, add your report. Each new report makes this guide more specific.
05Reddit frontend interview FAQ
What does the Reddit frontend tech screen ask?
Two senior candidates reported rendering nested comment replies from a flat array of comments with ids and parent ids.
Is the Reddit screen in React or vanilla JavaScript?
One report used a React app. The other asked for vanilla JavaScript and allowed React if you were not comfortable with it. Prepare both.
Do I need the optimal solution to pass?
One member said their solution was not the most efficient and they still passed, and credits talking through the approach and asking questions.
What else should I practice for Reddit?
Members tagged 12 questions with Reddit, mostly small React components, forms, and timing hooks.
