call(back)

Anduril Industries

LeetCode-medium problems wrapped in defense stories — drones, sensors, border towers — with deliberately vague prompts that grow in phases. Clarifying constraints and extending working code is what gets graded; senior screens add “what if the input were massive?”

Typical loop

  1. 1Recruiter screen: 30 min — why Anduril, comfort with defense work
  2. 2Technical phone screen: 60 min on HackerRank CodePair — one multi-phase medium (~10 min intro, ~40 coding, ~10 for your questions)
  3. 3Some teams add a hiring-manager call: resume plus role-specific coding
  4. 4Final loop, ~4 × 60 min: two coding rounds in the same multi-phase style
  5. 5System design / OOD round (radar-tower model, data-structure design)
  6. 6Behavioral with senior staff: line-by-line resume drill

Questions

Callback's practice questions and the LeetCode questions Anduril Industries has been asking, filtered together.

Practice questions

Team Photo I

Algorithms & Data Structures · Sort both teams, pair i-th against i-th, and try both orders.

easySign in to star problems

Largest Sensor Distance

Algorithms & Data Structures · The largest nearest-sensor gap — sort one side, binary search from the other.

mediumSign in to star problems

Surveillance Footage I

Algorithms & Data Structures · Interval greedy: extend coverage with the farthest-reaching clip that still connects.

mediumSign in to star problems

Shortest Path Around Obstacles

Algorithms & Data Structures · Unit steps on a grid: BFS, and the first arrival is the answer.

mediumSign in to star problems

Sensor Network I

Algorithms & Data Structures · Union-Find: an edge whose endpoints already share a root closes a cycle.

easySign in to star problems

Rod Cutting I

Algorithms & Data Structures · Unbounded knapsack in disguise — say that out loud, then roll a 1-D table.

mediumSign in to star problems

Brace Expansion I

Algorithms & Data Structures · Tokenize into groups of choices, then fold a cartesian product across them.

mediumSign in to star problems

Nested-Transaction KV Store

Algorithms & Data Structures · An undo log per open transaction: rollback replays it, commit hands it to the parent.

mediumSign in to star problems

Replace Without Built-ins

Algorithms & Data Structures · Two-pointer scans with no library calls — the point is proving you can.

easySign in to star problems

Drone Zone Sensor

Algorithms & Data Structures · Injected transport, upserts keyed by id, a dirty set — a small class with senior signals.

easySign in to star problems

Team Photo II

Algorithms & Data Structures · Only faced pairs matter: greedily match the smaller team into the larger.

mediumSign in to star problems

Team Photo III

Algorithms & Data Structures · The greedy match, written into two rows with empty slots.

mediumSign in to star problems

Fewest Towers to Cover Every Crossing

Algorithms & Data Structures · Greedy: place each tower as far right as the leftmost uncovered crossing allows.

mediumSign in to star problems

Distance Between Two Points

Algorithms & Data Structures · One formula for every dimension: the square root of the summed squared differences.

easySign in to star problems

Shortest Path on a Huge Map with A*

Algorithms & Data Structures · BFS's answer, found by expanding cells in order of cost-so-far plus an admissible estimate.

mediumSign in to star problems

Shortest Path with Terrain Costs

Algorithms & Data Structures · Unequal step costs turn BFS's queue into Dijkstra's priority queue.

mediumSign in to star problems

Brace Expansion II

Algorithms & Data Structures · A three-line grammar turns nested braces into a tiny recursive-descent parser.

hardSign in to star problems

Run-Length Encode and Decode

Algorithms & Data Structures · Find the end of each run (or each number), emit, jump.

easySign in to star problems

String Compression in Place

Algorithms & Data Structures · A read pointer and a write pointer over the same array — write never passes read.

mediumSign in to star problems

Surveillance Footage II

Algorithms & Data Structures · The farthest-reach greedy again, remembering which clip won each round.

mediumSign in to star problems

Surveillance Footage III

Algorithms & Data Structures · Sweep sorted clips tracking the farthest end; a start past it opens a gap.

easySign in to star problems

Sensor Network II

Algorithms & Data Structures · Start at n components; every successful union merges two into one.

easySign in to star problems

Sensor Network III

Algorithms & Data Structures · Kahn's algorithm: peel sensors with no pending inputs; leftovers mean a cycle.

mediumSign in to star problems

Rod Cutting II

Algorithms & Data Structures · The rod-cutting table again, charging for every cut and seeding the whole-rod sale.

mediumSign in to star problems

Rod Cutting III

Algorithms & Data Structures · Add a piece-count dimension: dp[k][L] builds on dp[k − 1][L − p].

mediumSign in to star problems

Asked on LeetCode

54 questions · all time