InterviewLegend

String and Word Search

Alex Chen28 min readUpdated 36 real interview reports

The string problems at Anduril usually come plain, and some have turned up in screens a year apart. Follow-ups tend to ask what changes when the same function runs many times, and two short ones can share a single round.

Short problems leave little slack. With two of them in one slot, finishing on time isn't the whole bar, and long pauses get noticed too. Know the path for each one before you sit down. Say the brute force, name the faster idea, then write it in one go. Leave a few minutes for the follow-up, because each of these has an obvious one.

The Anduril angle
Ask how often the function runs before you pick an approach. Anduril prompts often leave that out on purpose. A check called once wants a single pass, and one called thousands of times on the same input wants an index built up front. Lattice operators search and filter assets on a live map all day, so repeated queries are the normal case there. Give the one-shot answer first, then say what you'd precompute.

AndurilPremium lesson · Coding round

The 3 Anduril problems are below.

  1. A Premium questionCoding · Medium
  2. A Premium questionCoding · Medium
  3. A Premium questionCoding · Medium

Each with hints, the follow-up and a tested solution.

Get the Anduril questions

$49 a year · all 100 companies · cancel anytime

From 20,000+ candidate reports, forum threads behind logins and write-ups in Chinese.

Had your Anduril interview?Tell us what they asked. Reviewed before it goes in, never with your name.
Anduril interview guide

Know what Anduril asks before you walk in.

31 coding · 2 system design · 14 behavioral questions

Get Premium$49 a year · Cancel anytime
Or start freeNo card.

Get their questions first.

InterviewLegend is independent and not affiliated with or endorsed by any company it covers.