r/Hack2Hire • • 10d ago

Anthropic Interview Process & Experience Megathread [Nov 2026]

130 Upvotes

We've been tracking Anthropic interview patterns for a while. Here's the general structure based on what candidates have shared since August. Our May thread is still up here, and the first section below covers what's different.

What's changed since May

  • A recruiter call now usually comes first.
  • Some pipelines start with an OA. Others go straight from the recruiter call to the phone screen.
  • The phone screen is a system design round about as often as a coding round.
  • Some onsite loops include a coding round where you work in a repo with Claude Code.
  • You usually find out which question you get when the round starts.

Stage 1: Recruiter call (15 to 30 min)

Recent candidates were asked why Anthropic almost every time, and about AI safety in most calls. One referral screen lasted 15 minutes. One manager-track call ran about 30 minutes and covered team size and whether the candidate still codes.

Stage 2: Phone screen (about 45 min)

The coding version runs in CodeSignal, which opens as a notebook with no autocomplete. Recruiters often name concurrency as the topic to prepare. The system design version is either a review of an existing design doc, where you find the flaws and answer follow-ups, or an open-ended design.

Stage 3: Virtual onsite (4 to 6 rounds)

  • Coding, one or two rounds
  • System design, one round on most loops
  • Project deep dive, often a short presentation followed by Q&A
  • Culture
  • Hiring manager

AI tools on the onsite

  • Onsite Claude Code round (some loops, reported July to October): a browser IDE with a repo and open pull requests. Claude Code and web search are allowed.
  • Onsite agent round (Safeguards team, reported October): you write the agent loop yourself instead of using Claude Code.

The invite for the Claude Code round says up front that Claude Code is allowed. For every other round, ask your recruiter what tools you can use, whether you get an existing repo, and what you're expected to hand in.

Technical rounds come first, then culture, then the hiring manager. Most recent rejections came with no feedback. Ask on the recruiter call what each round covers.

If you've been through Anthropic interviews recently, drop your experience below. What matched this, and what didn't?


r/Hack2Hire • • 13h ago

Screening Anthropic Screening: String Tokenization

9 Upvotes

You get a string text and an array dictionary of entries in the form "<key>:<id>", where key is a token string and id is its identifier. All keys are unique, 1 <= text.length <= 10^9 and 0 <= dictionary.length <= 10^9. Split text into tokens and return them as a list of strings.

At each position, pick the longest dictionary key that starts there, output its id, and continue from the first character after it. If no key starts at the current position, output that single character as a literal and move forward by one.

Follow-up

Handle a dictionary too large to keep in memory, or cut trie space when many keys share prefixes.

Example

Input: text = "applepiepear", dictionary = ["app:10", "apple:20", "pie:30"] Output: ["20", "30", "p", "e", "a", "r"]

Explanation:

  • At index 0 both "app" and "apple" match, and the longer "apple" wins, so the output starts with "20".
  • "pie" matches next, giving "30".
  • No key starts at any of the last four characters, so each is output as itself.

Suggested Approach

  1. Insert every dictionary key into a trie, storing the key's id on the node where the key ends.
  2. Walk text left to right with an index pointer.
  3. At each position, follow the trie as far as the text matches, remembering the last node that ended a complete key.
  4. If a key ended along the way, output its id and move the pointer past that key. Otherwise output the current character and move forward by one.

Time & Space Complexity

  • Time: O(N × L), where N is the length of text and L is the length of the longest dictionary key. Each position needs at most L steps to find its longest match.
  • Space: O(S + N), where S is the total number of characters across all dictionary keys (the trie) and N is the length of text.

Targeting Anthropic interviews? We track their most-asked question patterns at Hack2Hire. Practice this question here → Practice Question Here

Join the community to see more interview experiences from real candidates → Hack2Hire Forum

Compiled from publicly available platforms and community-shared experiences.


r/Hack2Hire • • 2d ago

Onsite DoorDash SDE onsite breakdown [2026]

5 Upvotes

DoorDash's onsite is four rounds, done in one day or split across two or three: AI Code Craft, debugging, system design, and hiring manager. Some loops add an incident round.

  • AI Code Craft. You build on your own laptop with your own AI tool while sharing your screen. The usual prompt, a workflow where a late order triggers a refund, asks for components that run as separate systems, call each other over real APIs and keep running live.
  • Debugging. You usually fix an existing dispatcher service: functional bugs first, then locking, error handling and production issues. Many loops add a second part on consistent hashing.
  • System design. It usually opens with a 20 to 25 minute deep dive on one of your projects. Interviewers often push into database schema and API detail.
  • Hiring manager. Questions map to DoorDash's engineering values, plus how you use AI at work.

Rejected candidates usually point to one of three things: AI round services that never really ran, an unfinished consistent hashing part, or a design that got stuck in schema detail before the high-level picture.

So in the AI round, get several services running and talking to each other early, then build on them. One candidate who started with in-process mock classes spent the end of the hour converting them.

  • Two services on two ports. Have your AI tool scaffold two small HTTP services, one calling the other, and run both in separate terminals against a timer.
  • Run first, read second. Recent candidates say interviewers push for fast iteration. Practice running AI output as soon as it builds and reading it once it works.
  • Follow-ups on a running system. Interviewers often add partial refunds, a cancel step and duplicate API calls to the refund prompt. Add one to code that already runs.
  • Your AI setup, out loud. Interviewers ask why you chose your tool and model and whether you have written skills or agents. Have a two-minute answer.
  • Consistent hashing from a blank file. Write it to working code against a timer.
  • Bug fixes that leave the given tests alone. Practice in an unfamiliar repo and keep its inputs and tests as given.
  • A 20-minute project story. Cover the architecture, the options you weighed and one hard problem. Then design a review-and-voting system: high-level sketch first, then tables and endpoints.

If you're preparing for DoorDash → DoorDash Prep List

Join the community to see more interview experiences from real candidates → Hack2Hire Forum

Anyone who did the DoorDash onsite recently: did your AI round ask for separate running services too?

Compiled from publicly available sources and self-reported interview experiences.


r/Hack2Hire • • 7d ago

Screening OpenAI Screening: GPU Credits II

16 Upvotes

Design a CreditSystem that tracks GPU credit grants. Each grant has a unique id and an amount, and it is active during [startTime, expirationTime): valid at startTime, gone at expirationTime. Grants can overlap.

Events can arrive out of order relative to their timestamps. grantCredit(id, amount, startTime, expirationTime) adds a grant. subtract(amount, timestamp) records usage at timestamp. When events are replayed in time order, a usage is deducted from the grants active at that moment, soonest-expiring first.

getBalance(timestamp) returns the total credits available at timestamp after replaying every known grant and usage in time order. If any usage at a time t <= timestamp cannot be fully covered by the grants active at t, it returns -1. No two grant or usage events share a timestamp, and a balance can change after later calls add earlier events. All amounts and times are in [0, 1000].

Follow-up

Scale timestamps up to 109, or draw usage from the largest grants first.

Example

Input:

["CreditSystem","grantCredit","getBalance","grantCredit","subtract","subtract","getBalance","getBalance","getBalance","getBalance","getBalance","getBalance"]
[[],["a",3,10,60],[10],["b",2,20,40],[1,30],[3,50],[10],[20],[30],[35],[40],[50]]

Output:

[null,null,3,null,null,null,3,5,4,4,3,0]

Explanation:

  • Grant "a" gives 3 credits for [10, 60) and grant "b" gives 2 credits for [20, 40). At t=20 both are active, so the balance is 5.
  • The usage of 1 at t=30 comes out of "b", which expires first, leaving 4.
  • At t=40 "b" has expired with 1 credit unused, so only "a"'s 3 remain. The usage of 3 at t=50 can only come from "a", leaving 0.

Suggested Approach

  1. Make grantCredit and subtract record events only: store grants keyed by start time and usages keyed by timestamp, both in sorted maps.
  2. In getBalance(timestamp), collect every event time up to timestamp and walk through them in order, keeping active grants in a min-heap ordered by expiration time.
  3. At each time, first drop grants whose expiration time is at or before it, then add grants that start at it.
  4. For a usage at that time, pop the soonest-expiring grants and deduct from them, pushing a grant back if it still has credits. If the heap empties before the usage is covered, return -1.
  5. After the walk, drop any grant that expires exactly at timestamp and return the sum of what remains.

Time & Space Complexity

  • Time: O(log N) per grantCredit or subtract for the sorted-map insert. O(K log A) per getBalance, where K is the number of distinct event times up to the query and A is the most grants active at once.
  • Space: O(G + U), where G is the number of grants and U the number of usages.

Targeting OpenAI interviews? We track their most-asked question patterns at Hack2Hire. Practice this question here → Practice Question Here

Join the community to see more interview experiences from real candidates → Hack2Hire Forum

Compiled from publicly available platforms and community-shared experiences.


r/Hack2Hire • • 10d ago

HackerRank Categories

1 Upvotes

I have an OA coming up soon, and It says there are 2 sections, Engineering Fundamentals and Agent Building. Does anyone know what these might entail? I've seen software fundamentals when its just a coding problem, but nothing asking for engineering fundamentals. I just want to know what to expect.


r/Hack2Hire • • 14d ago

Anthropic Coding round involving AI tools and applied AI concepts

5 Upvotes

Has anyone recently interviewed for a coding round involving AI tools and applied AI concepts? What kind of coding problems should one expect? What applied AI concepts should they be familiar with?


r/Hack2Hire • • 14d ago

Looking for a Jobradar code to get some Free Credits. Try code: JR-XL3P4W

1 Upvotes

If you are looking for Free credits with Job Radar. Try this code: JR-XL3P4W


r/Hack2Hire • • 14d ago

discussion Rate Limiter Interview Questions: How Do Roblox, Uber, and Pinterest Ask It Differently?

4 Upvotes

In the interview experiences we've collected, "rate limiter" is one of the names that keeps coming back. Candidates at different companies report it in a coding round, a concurrency round, and a system design round.

That makes the name a poor guide to what you'll be asked. If you've practiced one version, is it the one you'll get? Here is how the reports describe the question at three companies.

Roblox: How Does a Rate Limiter Fit Into a 45-Minute Coding Round?

From candidate reports: a 45-minute session with two parts. The first is a standard rate limiter. One report describes the approach as a sliding window.

The extension in one account is a request with several fields: how would you rate limit each field separately? A second account says the follow-up "adds sets" and doesn't say more. That second report is too brief to say what the sets were for, so treat the fields question as the only well-described extension.

This is a coding question with a small change in the shape of the key. You still decide how to track time and counts, but a single per-user counter no longer covers it. The reports don't give the exact interface, the limits, or the language.

To prepare, write a limiter whose key is not one hard-coded identifier. Then change it so the same request is checked against several keys, each with its own limit, and decide what happens when one passes and another doesn't. That drill is practice, not a reported requirement.

Uber: What Changes When the Rate Limiter Must Be Thread-Safe?

From a candidate report: one onsite coding round was a concurrency round. The task listed in the report is a thread-safe rate limiter that uses a token bucket. Multiple threads access it, so counting and token distribution must be atomic. The discussion then moves to reducing lock contention under high concurrency.

The algorithm is already chosen for you in this account. The difficulty sits in correctness under concurrent access and in how the design performs when many threads call it at once. The report is a single account and lists the task as a short specification, so details such as time limits and tests are unknown.

To prepare, implement a token bucket first, then make refill and consume a single atomic step, and write a multi-threaded test that tries to exceed the limit. Then think through how you would reduce contention, for example by splitting state across keys. These are suggested exercises, not reported answers.

Pinterest: What Does a Rate Limiter Design Round Look Like?

From candidate reports: three separate accounts list a rate limiter as a system design round. One IC15 candidate had it as the first of two design rounds, followed by a leaderboard service. Another had "rate limiting" as the second design round after a notification system. A third lists it in a full loop.

The reports name the topic and say little else. They don't say which components the interviewer asked about, how deep the discussion went, or whether there was a coding portion. So all we can say is that at Pinterest the same name can mean a design discussion rather than an implementation.

If you meet a version like this, the useful preparation is the move from a single-process algorithm to a service: where limit state lives, what happens with several instances, and how limits are configured per client. That is a general preparation suggestion. It is not reported from these Pinterest accounts.

How Should You Prepare for the Different Versions?

The reports suggest three questions to answer before you pick a mock:

  • Is it code or design? A coding round expects a working class. A design round expects architecture and trade-offs.
  • Who owns the algorithm choice? The Uber account states token bucket. The Roblox accounts leave the choice to the candidate.
  • What is the extension? Several fields at Roblox, thread safety at Uber. At Pinterest, the extension is not described.

Ask the recruiter which form you'll get, whether you'll write runnable code, and whether concurrency is in scope.

Which version of the rate limiter question did you get, and what did the follow-up change?

Join the community to read more interview experiences from real candidates → Hack2Hire Forum


Compiled from publicly available platforms and community-shared interview experiences. Interview formats vary by role, level, team, and date.


r/Hack2Hire • • 16d ago

discussion Project Deep Dive Rounds: What Do Interviewers Actually Probe?

3 Upvotes

In the interview experiences we've been collecting, the project deep dive appears in loops at companies including Robinhood, Uber, OpenAI, and Square. Candidates describe the coding and system design rounds in detail. The deep dive usually gets a sentence: "asked in great detail," "challenged on everything," "no problem to solve."

If there's no problem to solve, it's less obvious what to prepare. What is the interviewer testing, and how do you get ready for a round that has no question bank?

Here is what those reports describe.

What is a project deep dive round?

You pick a project you worked on and walk the interviewer through it. Then the interviewer asks questions about it for most of the session.

There is no puzzle and no design prompt. The material is your own work, so the questions depend on what you say. One Robinhood candidate described spending about 50 minutes on a single project, with questions inserted throughout rather than saved for the end.

In the Robinhood report, the candidate chose the project and reused a deck prepared for another company's loop. Which project you choose matters: it has to hold up under that much questioning.

What does the session look like?

The format varies by company, and sometimes by interviewer.

Slides. A Robinhood candidate describes a presentation round where questions were inserted throughout. One Uber candidate was advised to prepare slides for a project with about 25 minutes of material, leaving 5 minutes for questions. Another Uber candidate described a 30-minute deep dive in which they were "challenged" and asked "very detailed" questions. The expected presentation can be shorter than the interview, since the questions fill the rest.

Conversation. An OpenAI account describes a project discussion without slides. The candidate picked a cross-team project and described how they found the problem, generalized the solution, and extended it company-wide.

Mixed with behavioral questions. One Uber account describes a 75-minute session in which project questions and behavioral questions were not separate. While the candidate described the project, the interviewer asked about disagreements over the design and how it was resolved, and whether the candidate had mentored junior engineers on it. A Robinhood candidate noted there was no separate behavioral round, and guessed that the deep dive was collecting behavioral signal. That is the candidate's reading, not something the company confirmed.

What do interviewers probe?

Across these reports, the same kinds of questions come up. The exact wording is the interviewer's, but these are the themes:

  • What you personally did. A DoorDash candidate said the key question was what they owned in a large system. Square's candidate prompts included technology choices and leading other engineers.
  • How you found the problem and what changed. The OpenAI example centers on discovering an issue, generalizing the fix, and its impact across the company.
  • Disagreement and how it ended. Uber's mixed round asked who disagreed with the design, what the disagreement was, and how it was handled.
  • Growth and improvement. A Square candidate was asked what they had grown in at their previous company and what they would do better as a tech lead.
  • Collaboration and difficulty. Square's prompts also included working with others and the hard parts of the project.

Interviewer background matters too. A Scale AI candidate noted the deep dive interviewer was a generalist engineer, so domain-specific work had to be explained in plain concepts and tied to metrics.

These reports suggest the round is less about a clever answer than about whether your explanation holds together under follow-ups.

Outcomes are harder to read. A Robinhood candidate who was placed at a lower level than they applied for attributed that to the deep dive. An Airbnb candidate said they were told their background wasn't the right fit. Both are single accounts of what the candidate believed happened, and neither confirms how the round is scored.

How should I prepare?

Choose a project you can discuss for an hour. Pick one where you made decisions and can explain the alternatives you rejected. A project where you only executed a ticket gives the interviewer less to ask about.

Be specific about your part. Write down what you decided, what you built, and what someone else did. "We" answers invite the "what did you own?" follow-up.

Prepare the stories beneath the slides. For each major decision, be ready to explain why, what the alternatives were, and what you would change now. Add one disagreement, one mistake, and one example of working with someone more or less senior.

Practice for a listener who isn't in your domain. Explain the system's purpose and the metric it moved before getting into architecture. Ask a friend outside your team to interrupt you.

Time yourself both ways. Run it once as a 25-minute talk with 5 minutes for questions, and once as an open conversation where you get interrupted early. Then check with the recruiter whether slides are expected and how long the session runs.

Have you done a project deep dive recently? Which question made you stop and think?

Join the community to read more interview experiences from real candidates → Hack2Hire Forum


Compiled from publicly available platforms and community-shared interview experiences. Interview formats vary by role, level, team, and date.


r/Hack2Hire • • 20d ago

Stripe OA: deployment windows got me

3 Upvotes

The OA question was a deployment window scheduler. First part was merging allowed windows and removing freeze periods. Then they added time zones and a few more constraints.

Thought I had the interval stuff under control, then spent way too long figuring out whether my time zone conversion was breaking a window at the edge of the week. Ran out of time before I could test everything properly. Not feeling great about it tbh.


r/Hack2Hire • • 21d ago

discussion Interviews Where AI Is the Subject: What LLM and Agent Questions Look Like

4 Upvotes

In the interview experiences we've been collecting, some questions are not about using AI to write your code. The question itself is about an LLM: calling a model API from a service, validating what it returns, or designing a system around an agent.

If you've prepared for AI-assisted coding rounds, this is a different kind of preparation. Here's what candidates describe, what stays constant across them, and how to practice.

## What does an LLM-application question look like?

Three kinds of task show up in the reports, and they test different things.

**A practical that calls a model API.** You write a small program that sends a request to an LLM, turns the response into something usable, and handles the follow-up questions about running it for real.

**A design question about a system that contains an LLM or agent.** You sketch the architecture: queues, failure handling, retrieval, tools, sandboxing, and what changes at scale.

**A conversation about applied AI concepts.** You're expected to be comfortable with how model APIs and agents behave, even when the task itself is ordinary engineering.

The examples below show each.

## Scale AI: What Does a Practical With an LLM Involve?

**From candidate reports:** Scale AI infra and backend loops include a backend practical that calls an external model, and a system design question about running LLM calls at scale.

One account describes a two-part backend practical. First, write an HTTP server that receives a CSV path and writes a JSON file to the filesystem. Second, add a category field to that JSON, generated by calling an LLM API. The interviewer supplies the API key. The follow-up asks how to scale it up.

Another account describes a practical that asks you to call an LLM API for a given scenario. The interviewer watches how you use the API and write the prompt. Follow-ups ask you to validate the output, then explain what you'd watch for in production.

The system design question in that second account is to design a system that evaluates contributor tasks with an LLM. The account says this is naturally asynchronous, similar to a distributed job scheduler. The deep-dive questions are the ones that matter for preparation:

- LLM output is not stable, so how do you keep data quality acceptable?

- How do you handle failures?

- How do you rate limit?

One infra account also mentions an embedding-plus-classification API design question and says it appears for AI-related roles. That is one account's impression, not an established rule.

Note what these have in common: the model call is the easy line. The questions that follow are about everything around it.

**Reported detail worth checking before your round:** the infra account says the practical was AI-enabled, but the candidate was told not to paste a screenshot-to-text prompt straight into a coding agent and to write their own prompt. Ask what assistance is allowed and whether API keys and a model are supplied.

## Datadog and Snowflake: What Does an Agent Design Question Ask?

**From candidate reports:** Datadog and Snowflake accounts each describe a system design question built around an AI agent that works on Jira tickets. These are separate accounts of two companies' interviews. They are not one session, and they do not establish that the two companies ask the identical question.

The Datadog account describes the prompt as designing an LLM agent system that automatically handles Jira tickets and sends pull requests. The candidate focused on RAG, MCP, and sandbox design. The feedback they received was that the LLM-specific detail was not comprehensive enough. The candidate had been interviewing for an AI agent role and was later moved to a distributed systems role, which the account attributes to a strong coding result.

The Snowflake account is for a mid-level SDE onsite. New Jira bugs keep arriving, each corresponding to a test failure, and an AI can produce a PR from a ticket. The candidate asked how fast the AI is and was told roughly thirty-plus minutes per fix PR. Their design pulled tickets, buffered them in a message queue, tracked each ticket's state in a database, and discussed schema and sharding.

The two reports emphasize different parts. One highlights the LLM-specific components. The other treats the AI as a slow external worker inside an ordinary pipeline. If you get a question like this, ask what the agent can do, how long it takes, and what happens when it fails.

## Snowflake AI Engineer: What Does an Agent-Focused Round Cover?

**From candidate reports:** one Snowflake AI Engineer onsite account describes a design round tied to the team's work. Questions were about agents: a pipeline that extracts or distills agent skills for enterprise users, and the common components of agent memory.

This is a single account for one role. It shows what an agent-oriented loop can include, not what every Snowflake loop does.

## Anthropic: What Do They Say About Applied AI Knowledge?

**From a candidate report:** one candidate shared the preparation text for a 55-minute round that assesses writing and reviewing code with AI tools. It lists applied AI topics that would be helpful: LLM APIs (message format, system and user prompts, token limits, prompt caching, latency measures such as time to first token), agentic loops, tool use, MCP, and failure modes such as hallucinations and unintended actions.

The same text says you do not need to know all of it in depth because you'll have Claude and the internet during the interview, and that deep ML skills are not required. Treat this as the candidate's copy of the preparation note, not a complete spec of the interview, and as one round rather than Anthropic's whole process.

## Perplexity: A Smaller Example

One undated Perplexity account lists a coding challenge: write a provider pool for external LLMs, where you can switch providers and fail over when one goes down. It is a single mention, so use it as an example of the task type rather than a pattern.

## How should you prepare?

The shared thread is the engineering around the model, not the model's internals.

- **Practice a small end-to-end call.** Build a service that sends a prompt, parses the reply into a fixed format, and rejects output that doesn't validate.

- **Rehearse the failure questions.** What do you do when the model times out, returns malformed output, or gives a different answer on a retry? Practice naming a concrete handling for each.

- **Prepare the scale-up answer.** Parallel calls, queues, rate limits, and retries are the follow-ups candidates report. Know the tradeoffs.

- **For agent design, know the components.** Retrieval, tool access, sandboxing, state, and memory are the pieces named in these accounts.

- **Read the applied AI list.** If your invitation resembles the Anthropic text, familiarize yourself with the API behavior it names.

Before the round, ask whether you'll supply an API key, which models are available, and whether the task is AI-assisted or about AI itself.

If you've had an interview where the AI was the subject rather than the helper, what did the follow-ups focus on?

Join the community to read more interview experiences from real candidates → [Hack2Hire Forum](https://www.hack2hire.com/forum?src=fd4)

---

*Compiled from publicly available platforms and community-shared interview experiences. Interview formats vary by role, level, team, and date.*


r/Hack2Hire • • 23d ago

Screening Anthropic Screening: Concurrent Web Crawler

39 Upvotes

Problem This is a variation of LeetCode 1242, Web Crawler Multithreaded.

Given a startUrl and an htmlParser interface, implement a concurrent web crawler that returns all unique URLs with the exact same hostname as startUrl.

Rules:

  • Starting point: begin at startUrl.
  • Same hostname: only record and crawl URLs whose hostname is identical to that of startUrl. All URLs use http with no port, and the hostname is the substring between :// and the next /, or the end of the string.
  • Uniqueness: remove the fragment (# and everything after it) before comparing. http://example.com/page#section1 and http://example.com/page are the same URL.
  • No duplicate visits: a sanitized URL is crawled and added at most once. Fragment removal happens before the hostname check and before deduplication.
  • Cycles: the link graph may contain cycles and links back to visited pages.

HtmlParser.getUrls(url) returns all raw URLs on a page and must not be modified. Each call has simulated network latency, so the solution must fetch pages in parallel. Return the discovered sanitized URLs in any order.

Constraints: 1 ≤ urls.length ≤ 1000, 1 ≤ edges.length ≤ 1000, and each getUrls call returns in at most 15 ms.

Follow-up

  • How would you implement a crawl delay or rate limiting so the crawler does not overwhelm target servers?
  • What changes if the crawl needs breadth-first or depth-first priority in a concurrent setting?
  • How would you architect this to run across multiple worker nodes instead of a single process?

Example Input: urls = ["http://example.com/page1","http://example.com/page2","http://example.com/page3#sectionA","http://example.net/page4#"], edges = [[0,1],[0,2],[1,3],[2,0]], startUrl = "http://example.com/page1" Output: ["http://example.com/page1","http://example.com/page2","http://example.com/page3"]

Explanation:

  • All three reachable pages share the hostname example.com.
  • http://example.com/page3#sectionA is sanitized to http://example.com/page3.
  • http://example.net/page4# is ignored because its hostname differs.

Suggested Approach

  1. Extract the hostname of each discovered URL and only explore URLs whose hostname exactly matches startUrl.
  2. Strip the fragment before adding a URL to the visited set, so URLs that differ only after # count once.
  3. Run a concurrent breadth-first search: use a thread pool or async workers to call getUrls on several pages in parallel and hide the latency.
  4. Track scheduled and visited URLs in a thread-safe set so each sanitized URL is processed only once.
  5. Use a phaser, counter, or barrier that tracks outstanding work, and return the collected URLs only after every scheduled crawl task has finished.

Time & Space Complexity

  • Time: O(N + E), where N is the number of unique sanitized URLs visited and E is the total number of links examined.
  • Space: O(N). At peak there may be up to O(N) pending crawl tasks.

Targeting Anthropic interviews? We track their most-asked question patterns at Hack2Hire. Practice this question here → Practice Question Here

Join the community to see more interview experiences from real candidates → Hack2Hire Forum


Compiled from publicly available platforms and community-shared experiences.


r/Hack2Hire • • 28d ago

discussion AI Coding Interviews: What Are You Actually Being Evaluated On When AI Writes the Code?

2 Upvotes

In the interview experiences we've collected, candidates in AI-allowed coding rounds keep describing the same surprise: the code itself can come quickly. One Datadog candidate said the AI wrote the solution in one pass and that the difficulty was somewhere else. A Rippling candidate ended up with so much spare time that the round turned into open Q&A.

That raises a practical question. If AI can produce the first version, what does the rest of the session ask you to do? The reports don't give us a scoring rubric, but they do show what interviewers asked for around the code.

Rippling: What Happens When the AI Finishes Quickly?

From candidate reports: Rippling's AI coding rounds appear in phone screens, and the problems are small in-memory systems: a delivery cost and payment tracker, a task manager that filters, dedupes and sorts, and a rate limiter. Candidates were asked to set up their IDE and AI tool locally beforehand. One was told AI use couldn't be opted out of. Another was told it was optional, though the recruiter strongly recommended it.

One senior full-stack candidate used Cursor with Gemini Flash on the rate limiter. After the code appeared, the follow-ups were brief and, in the candidate's view, unfocused. With time left over, the round became general Q&A, and a rejection came the next day. The candidate's explanation was that the interviewer didn't know how to evaluate a fast AI-assisted solution. That is their interpretation, not a confirmed reason for the result, and their suggestion to slow down and talk through trade-offs is their own advice.

Another candidate asked whether the problem changes with or without AI. The answer they received was that the problem is the same and the evaluation differs. They also understood that choosing AI meant being expected to finish all three parts. The delivery cost problem builds in parts: record deliveries and total cost, pay everything up to a given time and report what's unpaid, then a third part. That candidate ran out of time before part three.

A third candidate chose to disable AI and was still rejected, so opting out didn't settle anything either.

Practice finishing a multi-part problem with the assistant inside a fixed time limit, and be ready to explain your design choices to the interviewer. Ask your recruiter whether AI is expected, optional, or recommended, and how many parts you should plan to complete. Set up your IDE and screen sharing beforehand: one candidate's browser-based Zoom share stopped unexpectedly and muted them mid-round.

DoorDash: What Does the AI CodeCraft Round Ask You to Do?

From candidate reports: the interviewer provides starter code on a coding platform. You copy it into your local IDE, share your screen, and work with an AI tool such as Codex or Claude. The reported task is an order-timeout refund flow modeled as a DAG-like workflow: depending on whether an order timed out, the next node refunds or ends.

Reported follow-ups include adding node types such as partial refund and cancel. In another account, the candidate wrote the full workflow and its engine, then was asked about the effect of repeated API calls and how to reduce user latency.

One account says you could agree each change with the interviewer before the AI ran it. The same candidate summarized what the round seemed to test as: clarify all requirements first, plan before each implementation step, read the AI's output and get the interviewer's agreement before accepting it, write and pass tests at each step, and limit the AI to the parts that need changing. That list is one candidate's interpretation of the round, not a published DoorDash rubric.

To prepare, run the same loop on a workflow-style problem. Ask clarifying questions, write the plan before prompting, review each diff, and test after each node type. Then add a follow-up about retries or latency and see whether you can answer it without the assistant.

Snowflake: How Does an AI-Allowed Round Change the Follow-Ups?

From candidate reports: a one-hour CoderPad phone screen in Python where AI was allowed. The recruiter said the round would look at how you ask for requirements, test, and debug. The problem was a rate-limiting service with free, pro and enterprise tiers whose limits can change at runtime.

The follow-ups came in this order:

  1. Why did you choose this rate-limiting algorithm, and what are the trade-offs of the others?
  2. Would you add tests to show it works?
  3. How would you test it when the real clock runs too fast for tokens to refill?
  4. How would you evolve a single in-memory instance into a distributed cluster?

None of these asks for more code from scratch. They ask you to justify a decision, verify behavior, and control time in a test. The candidate ran out of time before the distributed question and was not offered the next step. They also noted a runtime-update subtlety: raising a tier's limit doesn't instantly add tokens to existing buckets.

To prepare, take any problem you can solve with an assistant and write a test that controls the clock. Practice explaining why you picked one approach over its alternatives before asking the AI to implement it, and keep a few minutes at the end for scaling questions.

What Do These Reports Have in Common?

None of the accounts establish how interviewers score these rounds. A Datadog candidate who asked what AI coding is meant to assess was told the format was new and the interviewer had only run it a few times. Another Datadog candidate said that in a large PR-review exercise, they were expected to use AI and were judged on how they used it, which is their understanding of the round.

What the accounts do show is the work around the generated code: confirming requirements, choosing and explaining an approach, reviewing output, testing, and handling extensions. These come from separate companies, roles, and dates, so treat them as examples of what to practice, not as a universal checklist.

Before your round, ask whether AI is expected or optional, which tool you'll use and where, whether the problem has multiple parts, and what you should do yourself. Then rehearse with a timer and say your reasoning out loud.

What did your AI coding round ask for after the code was written? Share what you wish you'd practiced.

Join the community to read more interview experiences from real candidates → Hack2Hire Forum


Compiled from publicly available platforms and community-shared interview experiences. Interview formats vary by role, level, team, and date.


r/Hack2Hire • • 29d ago

Onsite Coinbase Onsite: Crypto Block Mining

4 Upvotes

Problem A miner packs transactions from a pending pool (the mempool) into a block with fixed capacity blockSize. The miner collects the fee of every included transaction, so the goal is to maximize total fees without exceeding the size limit.

You are given three parallel arrays transactionIds, fees, and sizes, each of length N. Implement mineBlock to return the IDs of the chosen transactions, in any order.

Transactions are prioritized by fee-to-size ratio, fees[i] / sizes[i]; a higher ratio is preferred. Ties are broken in this order:

  1. Higher fee.
  2. Smaller size.
  3. Lexicographically smaller ID.

Constraints: 1 ≤ N ≤ 105, 1 ≤ sizes[i] ≤ blockSize ≤ 109, 0 ≤ fees[i] ≤ 106.

Follow-up Each transaction now has an optional parentId pointing to another transaction in the mempool. A parent must be mined in the same block, before its child. A parent can have several children, a child has at most one parent, and there are no cycles. An empty parentId means no prerequisite.

This is Child-Pays-For-Parent (CPFP). A transaction's priority is computed from the combined fee and combined size of the transaction plus all its unmined ancestors, up to the root or the nearest already-mined ancestor. Once a parent is mined, its cost is paid for, and its children are evaluated using only their remaining unmined ancestors.

Extend mineBlock with a parentIds parameter and return the selected IDs, in any order.

Example Input: transactionIds = ["tx1","tx2","tx3","tx4"], fees = [50,60,30,40], sizes = [50,30,20,40], blockSize = 100 Output: ["tx2","tx3","tx1"]

Explanation:

  • tx2 has ratio 2.0, tx3 has 1.5, and tx1 and tx4 both have 1.0.
  • Taking tx2 (size 30), tx3 (size 20), and tx1 (size 50) fills exactly 100 units for a total fee of 140.
  • tx1 and tx4 tie on ratio, so the higher fee, tx1, wins.

Suggested Approach

  1. Pair each ID with its fee and size so each transaction can be compared as one object.
  2. Sort from highest to lowest fee-to-size ratio. Compare two ratios by cross-multiplication, fee_a × size_b against fee_b × size_a, to avoid floating-point error. Apply the tie-breakers in the stated order.
  3. Walk the sorted list and include a transaction if it fits in the remaining capacity; skip it otherwise.
  4. For the CPFP follow-up, rank packages instead of single transactions. A package is a transaction plus its unmined ancestors, with the summed fee and size, and it is a candidate only if it fits in the remaining space.
  5. Repeat: pick the valid package with the best ratio using the same comparison rules, mine its ancestors first, reduce the remaining space, and mark them mined. Re-evaluate every round, because mining a parent shrinks the package of its other children and usually improves their ratios.

Time & Space Complexity

  • Time: O(N log N) for the base problem, from sorting. The CPFP follow-up is O(N² × D), where D is the average ancestor chain depth. N is the number of transactions.
  • Space: O(N) for the sorted list and the output.

Targeting Coinbase interviews? We track their most-asked question patterns at Hack2Hire. Practice this question here → Practice Question Here

Join the community to see more interview experiences from real candidates → Hack2Hire Forum

Compiled from publicly available platforms and community-shared experiences.


r/Hack2Hire • • Oct 27 '26

discussion Job Scheduler Interviews: What Might You Actually Be Asked at Scale AI, Lyft, LinkedIn, and OpenAI?

3 Upvotes

In the interview experiences we've been collecting, "scheduler" comes up at many companies: Scale AI, Lyft, LinkedIn, OpenAI, Databricks, Robinhood, Goldman Sachs. The word hides very different tasks. One candidate gets a priority-queue problem with a growing spec. Another gets a bug report against an existing codebase. Another gets a blank whiteboard.

If a recruiter or a forum thread says "job scheduler," what should you practice? Here's how the reported versions differ.

Scale AI: How Does a Task Processor Grow Over Three Parts?

From candidate reports: a coding problem with a class that adds tasks and consumes them. Each task has an id and a deadline, and consuming returns the task with the earliest deadline. The reports call it Task Processor or Task Scheduler, and describe three parts.

  1. Deadline order. Implement adding and consuming. A heap covers it, and one candidate finished this part quickly.
  2. Subtasks. Each task can list subtasks that must be consumed before the task itself. One account describes it as a topological sort; another mentions tracking which tasks have been consumed.
  3. A third part that differs by account. Reported versions include updateDeadline, which does nothing if the task has already been consumed; a short discussion of what to watch for in production; and design discussion of task validation, checking the dependency graph is acyclic, concurrency, and streaming tasks.

So the first part is routine, and the work arrives in the second and third. One account says test cases were provided and the interviewer gave few hints. Another had time left and sketched a small scheduler design in a drawing tool.

To prepare, write the heap version, then add prerequisites and decide when a blocked task becomes eligible. Practice answering what happens with a cycle, two consumers, or tasks arriving continuously.

Lyft: What If the Scheduler Is a Disguised Meeting Rooms Problem?

From a candidate report: the job scheduler reads jobs from CSV lines such as 1030 30: a start time and a duration. You work out the minimum number of workers needed and print each job's history in a form like J0 W0, meaning job 0 ran on worker 0.

The candidate calls it a variant of Meeting Rooms II. The reported twist is the tie-break: when several workers are free, you pick the lowest-numbered one, not the one that finished earliest. The task also includes reading a stream and parsing strings.

The reported difficulty is not the idea of interval scheduling, but the changed rule and the output format. Practice the classic problem, then change the assignment rule and make the code produce the exact per-job output.

LinkedIn: What Does the Design Version Ask For?

From a candidate report: a system design round to build a job scheduler that supports one-off and recurring jobs, where the jobs have similar resource requirements. The account lists the prompt only, so we don't know its follow-ups.

Other reports show the same prompt at different levels of detail. A Databricks account lists "design a job scheduler" and says to think of something like Google's Borg. A Robinhood phone-screen account for a senior role says the open-ended prompt gives little separation early on, and advises covering reliability and fault tolerance yourself before the deep dive; that is the candidate's advice, not an interviewer's instruction.

For these, practice the shape of a scheduler: how a job is submitted, stored, picked up, run, retried, and recorded when a worker dies. Say your assumptions about job size and frequency early.

OpenAI: What If You're Handed a Scheduler Repo With Bugs?

From a candidate report: an in-memory Python scheduler already exists. A job has a function, arguments, a run time, and a status. The scheduler pulls jobs from a heap by run time and runs them on threads. You get bug reports, find the cause, write a test for each fix, and are allowed to search online.

The first reported bug is that a job whose function raises an exception never gets its status updated, so it stays PENDING forever. The second is an async scheduler whose submitted jobs don't appear to run.

Nothing here asks for the scheduler to be built. It asks you to read one, reproduce a failure, and prove the fix. The candidate calls it closer to a debugging exercise.

To prepare, take a small scheduler you wrote and break it on purpose: a failing job, a slow job, a shutdown in the middle of a run. Practice writing the failing test before the fix.

One More Shape: Concurrency, Then Distribution

A Goldman Sachs account describes a low-level design question: implement a concurrent in-memory job scheduler, then extend the design to a distributed system. It's a single report, but it matches the pattern from Scale AI's third part, where concurrency and scale come after a working core.

What Should You Ask Before You Prepare?

The reports suggest asking whether you'll write code, extend a spec in parts, read existing code, or design on a blank page. They also suggest asking whether concurrency or a distributed design is expected.

Then practice the version you'll face. A single heap-based class won't help much if the round is a bug hunt, and a design outline won't help if the round asks for exact output from parsed input.

Which "scheduler" did you get, and what did it ask in the second half?

Join the community to read more interview experiences from real candidates → Hack2Hire Forum


Compiled from publicly available platforms and community-shared interview experiences. Interview formats vary by role, level, team, and date.


r/Hack2Hire • • Oct 20 '26

OA IBM OA: Maximum Distinct Split Sum

8 Upvotes

Problem An analytics system measures how diverse the values are on both sides of an array split. Given an integer array arr, split it at an index i with 1 ≤ i < arr.length into two non-empty parts, arr[0...i-1] and arr[i...end]. The score of a split is the number of distinct integers in the left part plus the number of distinct integers in the right part.

Return the maximum score over all valid splits. The solution must run in O(N) time, where N is the length of arr. This is a variation of LeetCode 1525, Number of Good Ways to Split a String.

Constraints: 2 ≤ arr.length ≤ 105 and -109 ≤ arr[i] ≤ 109.

Follow-up The backend lists these follow-up directions for this question:

  • How would you change the algorithm to return every split index that achieves the maximum score?
  • Could you reduce the auxiliary space while keeping O(N) time, for example by using value ranges or sorting?

Example Input: arr = [1, 2, 1, 3, 2] Output: 5

Explanation:

  • Splitting at index 2 gives [1, 2] and [1, 3, 2].
  • The left side has 2 distinct values and the right side has 3, so the score is 5.

Two more cases: [4, 1, 4, 2, 3, 2, 5, 1] returns 7, and [5, 5] returns 2.


Suggested Approach

  1. Start with every value in the right part and count occurrences in a frequency map. The number of keys is the distinct count on the right.
  2. Move the split one position at a time. Each step moves one value from the right part to the left part: add it to a set for the left side, decrement its right-side frequency, and delete the key only when the frequency hits zero.
  3. After each move, the set size and the map size are the two distinct counts for that split. Add them and keep the best score.

Time & Space Complexity

  • Time: O(N), since each element is counted once and moved across the split once.
  • Space: O(N) for the distinct values and their remaining frequencies.

Targeting IBM interviews? We track their most-asked question patterns at Hack2Hire. Practice this question here → Practice Question Here

Join the community to see more interview experiences from real candidates → Hack2Hire Forum


Compiled from publicly available platforms and community-shared experiences.


r/Hack2Hire • • Oct 15 '26

OA IBM OA: Minimum Nondecreasing Increment

3 Upvotes

Problem Given an integer array arr, you may perform the following operation at most once:

  • Choose any subset of non-adjacent indices.
  • Choose a non-negative integer x.
  • Add the same x to every selected element.

The resulting array must be non-decreasing, meaning arr[i] ≤ arr[i + 1] for every valid i. Return the minimum possible x. Return 0 if the array is already non-decreasing, and -1 if no valid operation works.

Constraints: 1 ≤ arr.length ≤ 105 and -109 ≤ arr[i] ≤ 109.

Follow-up The backend lists these follow-up directions for this question:

  • How would the solution change if the non-adjacent subset constraint were removed?
  • Can you modify the approach to minimize the total amount added, rather than a single uniform x?

Example Input: arr = [1, 1, 3, 2] Output: 1

Explanation:

  • Selecting index 3 and adding 1 gives [1, 1, 3, 3], which is non-decreasing.
  • With x = 0 the array is unchanged, and 3 is still greater than 2.

Two more cases: [1, 2, 3, 3] returns 0, and [3, 0, 3, 0, 3] returns 3.


Suggested Approach

  1. Find every descent, where arr[i] > arr[i + 1]. Raising the left value cannot repair it and leaving both unchanged cannot either, so index i + 1 must be selected. Pairs without a descent are already valid, so nothing else needs selecting.
  2. Selecting i + 1 repairs the descent only when arr[i] ≤ arr[i + 1] + x. Each descent therefore sets a lower bound arr[i] - arr[i + 1], and the largest of these is the smallest candidate for x.
  3. A selected index that has a right neighbour must also satisfy arr[i + 1] + x ≤ arr[i + 2]. That gives an upper bound arr[i + 2] - arr[i + 1]. Keep the smallest one.
  4. If the lower bound does not exceed the upper bound, return the lower bound. Otherwise return -1.

Time & Space Complexity

  • Time: O(N), one pass over the N elements.
  • Space: O(1), a constant number of interval endpoints.

Targeting IBM interviews? We track their most-asked question patterns at Hack2Hire. Practice this question here → Practice Question Here

Join the community to see more interview experiences from real candidates → Hack2Hire Forum


Compiled from publicly available platforms and community-shared experiences.


r/Hack2Hire • • Oct 13 '26

OA IBM OA: Apply Domain Request Limits

1 Upvotes

Problem A gateway receives one domain request per second. Design a rate limiter that handles these requests one at a time and keeps its state between calls. This is a variation of LeetCode 359, Logger Rate Limiter.

Implement DomainRateLimiter with one method, handleRequest(domain). The first request arrives at time 0, and each call happens one second after the previous one, including calls that get rejected. It returns "{status: 200, message: OK}" for an accepted request and "{status: 429, message: Too many requests}" for a rejected one.

For each domain, accept at most two requests in any 5-second window and at most five requests in any 30-second window. Only accepted requests count toward later limits, and each domain is tracked independently. There are up to 104 calls, and each domain is at most 15 characters of lowercase letters and periods.

Follow-up The backend lists these follow-up directions for this question:

  • How would you adapt the design if requests arrived with explicit timestamps instead of a fixed one-per-second interval?
  • What would need to change to scale the limiter across multiple distributed servers?
  • How would you reduce memory if you were tracking millions of distinct domains with varying request frequencies?

Example Requests in order: www.xyz.com, www.abc.com, www.xyz.com, www.pqr.com, www.abc.com, www.xyz.com, www.xyz.com, www.abc.com, www.xyz.com

Output: 200, 200, 200, 200, 200, 200, 429, 200, 200

Explanation:

  • www.xyz.com is accepted at times 0, 2, and 5.
  • At time 6, the accepted requests at times 2 and 5 are both inside the 5-second window, so the request is rejected.
  • At time 8, only the request at time 5 is still in the window. The rejected request at time 6 was never counted, so this one is accepted.

Suggested Approach

  1. Keep a map from each domain to the times of its accepted requests, plus a global time that starts at 0 and advances after every call, accepted or rejected.
  2. Before evaluating a request, drop that domain's accepted times that fall before the 30-second window. At most five remain.
  3. Count how many stored times fall in the 5-second window. Reject if either limit has already been reached. Otherwise store the current time and accept.
  4. Return the status string, then advance time by one second.

Time & Space Complexity

  • Time: O(1) for the constructor and expected O(1) per handleRequest, since at most five accepted times are stored and checked for one domain.
  • Space: O(D), where D is the number of distinct domains, because each domain holds at most five timestamps.

Targeting IBM interviews? We track their most-asked question patterns at Hack2Hire. Practice this question here → Practice Question Here

Join the community to see more interview experiences from real candidates → Hack2Hire Forum


Compiled from publicly available platforms and community-shared experiences.


r/Hack2Hire • • Oct 12 '26

AI Interview Rounds at Instacart, LinkedIn, and Meta: What to Know Before Your AI Interview

15 Upvotes

From the interview experiences we've collected, being comfortable with vibe coding helps—but the interview setup can still catch you off guard. The examples include Haiku 4.5 in an Instacart assessment, independent algorithm requirements at LinkedIn, and large test suites at Meta.

If you normally choose your own model, paste in the full context, and let an agent work until it finishes, you'll want to know how those habits fit the actual round.

Below are the tasks, tools, and restrictions described in candidate reports, followed by preparation that matches them. These are examples of reported formats; the configuration and instructions for your own round may differ.

Instacart: What Does the AI Interview Look Like?

From candidate reports: a CodeSignal full-stack assessment built around an existing library application, with five parts inside a 90-minute session. Backend applicants have also received this assessment.

You interact with two AI roles. The AI Product Manager answers questions about the feature you need to build. The coding agent helps you change the application after you understand the requirements.

The collected setup details include Haiku 4.5 as the supplied model, Claude Code for implementation, and 10-minute limits on PM conversations. Check the model in your invitation rather than assuming you'll have your usual choice.

The reported sequence is:

  1. Ask the AI PM about the first feature. The starting complaint is that the library's table is too long and inconvenient. You ask questions to uncover the search and filter controls it needs.
  2. Use the coding agent to implement it. You receive the project directory and turn the conversation into instructions for code changes and tests.
  3. Investigate and fix a bug yourself. A reported example looks like a frontend problem, but the cause is backend code returning results without filtering them correctly.
  4. Ask the AI PM about a second feature. This conversation covers notifications: loan reminders and alerts when an item becomes available. Details include queue priority and avoiding duplicate notifications.
  5. Implement the second feature. You return to the coding agent and complete the changes with the time remaining.

The awkward part is the handoff between the PM conversation and implementation. The reported restriction is that you cannot paste the PM conversation directly into the coding agent. You need to convey the requirements in your own instructions. Terminal errors being unavailable to copy into Claude are a separate reported limitation; this is not a claim that every paste operation is blocked.

This explains the typing pressure. You're typing questions to discover the requirements, reading the replies, and composing a new request for the coding agent. AI may write the code, but moving the relevant information between these steps still takes your time.

The accounts include PM conversations lasting ten and eight minutes, substantial time spent typing, and an estimate of about 20 minutes waiting for agent responses. These timings come from different sessions, but show where the assessment time can go before debugging begins.

For preparation, rehearse the PM-to-agent handoff: get a feature through a conversation, write a concise implementation brief without copying the transcript, then make the change in a small unfamiliar full-stack project. Include expected behavior and tests in the brief.

Also practice tracing a UI symptom into backend code. Run the mock with a timer that includes questions, typing, agent responses, review, and tests—and use the permitted model if you can confirm it beforehand.

LinkedIn: How Much of the Problem Can You Give to AI?

From candidate reports: a live coding round in CoderPad, with an interviewer, an AI assistant, and a problem that develops through follow-ups. The reported model selector included GPT, Gemini, and Claude options.

The LRU cache example shows how the round can unfold:

  1. Explain the algorithm yourself. The recruiter and interviewer required independent algorithm selection. The proposed design was a hash map plus a doubly linked list.
  2. Discuss implementation details with the interviewer. The data structures and approach were established before AI started writing the implementation.
  3. Generate, review, and correct the code. Generated mistakes included removing an evicted node from the list while leaving its map entry behind, undefined variables, and inconsistent snippets.
  4. Handle additional requirements. The source describes four tasks, including the base LRU, TTL, and thread safety. It does not preserve the remaining task, so there is no complete four-part specification to reproduce.

If your usual first prompt is “figure out the best approach and implement it,” that delegates a decision you may be required to make yourself.

The boundary can also change during the round. A separate graph-problem example allowed AI to help derive and implement the first solution, followed by an instruction to work out the next algorithm independently.

The practical difficulty is switching between reasoning with the interviewer and inspecting generated code. A familiar model name does not remove the need to catch a stale map entry or explain why an extension changes the implementation.

To prepare, do a mock where you first explain the approach without AI, then give the assistant that design. Review the result and test a specific invariant—for an LRU cache, an evicted key must disappear from both the map and list.

Add a follow-up and practice reasoning through it yourself before requesting implementation help. Clarify the permission boundary at the start and again if the interviewer changes the task.

Meta: What Will You Actually Build and Test?

From candidate reports: AI coding tasks include friend recommendation, maze traversal, and a card-game solver. The detailed examples involve implementing behavior and then testing it beyond a small demonstration.

In the friend-recommendation example, you receive users and friendship pairs, design a recommendation strategy, and implement it. There are three test suites; the largest contains roughly 100,000 users and 1.5 million friendship pairs.

The card-game example asks for logic that selects groups of cards adding up to a target sum. It also requires writing tests to benchmark the algorithm across more than 1,000 games.

So the work continues after AI produces the first implementation. You need to understand its behavior, run the relevant tests, and work out whether a slow or disappointing result comes from the implementation or your test setup.

The collected preparation notes discuss CoderPad, limited sandbox resources, and agent or test runs taking too long. They do not establish one fixed model configuration for every Meta round, so confirm the available tools beforehand.

If you normally let an agent implement, run everything, and optimize in one long pass, practice shorter interactions. In an interview, you need opportunities to inspect the changes, explain what is happening, and recover while there is still time left.

For preparation, build a small recommendation or simulation exercise and test it at increasing sizes. Start with a case whose answer you can check yourself, then measure how runtime changes as the input grows.

For randomized simulations, compare revisions with the same seed and sample. Set a time limit for expensive runs and ask the agent for specific changes you can inspect. These drills help you practice the implementation-and-measurement work visible in the reports.

What Should You Check Before Your Round?

Ask which model and IDE you'll use, whether you can use your own tools, what context can be copied between interfaces, and which parts require independent work.

Then practice the actual sequence you'll face. For the Instacart-style assessment, that includes requirement conversations and transferring the resulting instructions. For the LinkedIn examples, it includes explaining an algorithm before requesting code. For the Meta examples, it includes running and interpreting tests at meaningful scale.

What surprised you most in an AI interview: the model, the workflow, or the rules around using it?

Join the community to read more interview experiences from real candidates → Hack2Hire Forum


Compiled from publicly available platforms and community-shared interview experiences. Interview formats vary by role, level, team, and date.


r/Hack2Hire • • Oct 12 '26

DoorDash SWE Intern 2027 - AI Code Craft & Interactive Coding prep tips?

1 Upvotes

Hey everyone,

I have my DoorDash SWE Intern (Summer 2027) virtual onsite coming up and wanted to see if anyone has tips for the modern loop format
If you’ve gone through this recently, any advice on pacing, common pitfalls, or what interviewers look for would be super appreciated! Thanks!


r/Hack2Hire • • Oct 12 '26

A 10-minute first screen that respects candidate time

2 Upvotes

Here is a hypothetical first screen for a customer support hire. Tell candidates upfront that it has three questions, should take about 10 minutes, and will be reviewed by a person. Ask everyone the same role-specific prompts: describe a difficult customer interaction, explain how you would prioritize two urgent tickets, and walk through how you would clarify an unfamiliar issue.

Use a simple 1-to-3 scorecard for communication, judgment, and relevant evidence. The goal is not to automate rejection. It is to give reviewers a consistent starting point while avoiding a 30-minute scheduling call for every applicant.

I work on Aural. One way to run this workflow is to create a reusable role template, share the interview link, and let candidates answer by voice or video. The team can then review the responses, transcripts, and summaries against the same scorecard before deciding who moves forward. Keeping the screen short and explaining the process clearly makes the time commitment predictable for candidates.

What is the shortest first screen that has still given your team useful signal?


r/Hack2Hire • • Oct 11 '26

Onsite Robinhood SWE Intern (2027) coding interview — what should I expect?

Thumbnail reddit.com
2 Upvotes

r/Hack2Hire • • Oct 09 '26

Datadog AI Coding interview

Thumbnail reddit.com
0 Upvotes

r/Hack2Hire • • Oct 08 '26

Question Uber Live Coding Round on Hacker Rank - SQL and Excel

0 Upvotes

Hey everyone, it’s my first time attempting a technical interview and it’s going to be Live on hacker rank. There is are two ppl taking my interview. One will do SQL and other doing excel. I am not sure how the questions will look like or how the interview looks like. I’m not great at SQL or Excel. I’ll appreciate any tips. This role is related to People Analytics Analyst at Uber.


r/Hack2Hire • • Oct 08 '26

Screening Affirm Screening: Group Loans by Top-Level Company

3 Upvotes

Problem Design a stateful loan processor. It is initialized with direct parent-child relationships between companies, then receives loan records one at a time.

Implement LoanProcessor with these methods:

  • LoanProcessor(companyRelations), where each entry is [parentCompany, childCompany] for a direct ownership link. The hierarchy is acyclic, and each company has at most one direct parent.
  • createLoan([loanId, userId, merchant, amount]) follows the merchant's parent chain to its top-level company and stores the loan under it. A non-empty merchant with no parent is its own top-level company, even if it never appears in companyRelations. If the merchant is empty, ignore the loan.
  • getAggregatedLoans() returns one group [topLevelCompany, loanId1, loanId2, ...] for every top-level company with at least one stored loan. The order of groups and IDs is not specified. The processor must keep the rest of each loan's data for later operations.

Constraints: up to 105 relations, up to 105 method calls, and at most 105 loan IDs returned across all getAggregatedLoans calls.

Follow-up Add matchTransaction([transactionId, userId, merchant, amount]), which returns the ID of the matching loan created earlier, or an empty string. A transaction matches a loan only when all three conditions hold:

  • The userId values are equal.
  • The amount strings are equal, compared exactly as given.
  • Both merchants resolve to the same top-level company.

The transaction ID plays no part in matching. An empty merchant never matches. Matching does not remove or change a loan, so several transactions can match the same one. The input guarantees that no two stored loans share the same (userId, topLevelCompany, amount), so there is at most one match.

Example Relations: [AA, BB], [AA, CC], [DD, AA], [FF, EE]. Loans: L1: U1, CC, 100, L2: U2, AA, 200, L3: U3, EE, 300, L4: U4, "", 400.

Output of getAggregatedLoans(): [["DD", "L1", "L2"], ["FF", "L3"]]

Explanation:

  • CC resolves through AA to DD, and AA resolves to DD, so L1 and L2 are grouped under DD.
  • EE resolves to FF, so L3 is grouped under FF.
  • L4 has an empty merchant and is ignored.

For the follow-up, with loans L1: U1, CC, 100 and L2: U2, AA, 200, the transaction T1: U1, BB, 100 returns L1, because BB and CC both resolve to DD. The same transaction with amount 999 returns an empty string.


Suggested Approach

  1. Build a map from each child company to its direct parent. A company with no recorded parent is a top-level company, including merchants that never appear in the hierarchy.
  2. On createLoan, ignore an empty merchant. Otherwise follow parent links from the merchant until you reach a company with no parent, and cache that root for every company visited on the way.
  3. Store the loan and associate its ID with the resolved top-level company. getAggregatedLoans builds [company, ...ids] for each non-empty group and does not change state.
  4. For matchTransaction, index each stored loan by a composite key of top-level company, user ID, and amount, mapped to the loan ID. Return an empty string for an empty merchant. Otherwise resolve the merchant, build the same key, and look it up. Matching only reads the index, so a loan can match again later.

Time & Space Complexity

  • Time: Building the processor is O(R) for R relationships. createLoan and matchTransaction are O(H) in the worst case for a parent chain of height H, then expected O(1) for the map operations, and O(1) when the root is already cached. getAggregatedLoans is O(G + L) for G groups and L stored loans.
  • Space: O(R + C + L), where C is the number of companies encountered.

Targeting Affirm interviews? We track their most-asked question patterns at Hack2Hire. Practice this question here → Practice Question Here

Join the community to see more interview experiences from real candidates → Hack2Hire Forum


Compiled from publicly available platforms and community-shared experiences.