Queues, Heaps and Streams
A queue question comes up often at Anduril. Sometimes you write it on a blank page. Other times you get someone else's broken C or C++ code with sample tests to make pass, and some versions add a reader thread and a writer thread. Sensor data flowing through a buffer is normal work on Anduril hardware, so the question is close to the actual job.
The other two problems use heaps. All three hold state between calls, and the follow-ups test that state when inputs pile up, expire or arrive from two threads.
AndurilPremium lesson · Coding round
The 3 Anduril problems are below.
- A Premium questionCoding · Medium · Signature problem
- A Premium questionCoding · Hard
- A Premium questionCoding · Hard
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.
Anduril interview guideKnow what Anduril asks before you walk in.
31 coding · 2 system design · 14 behavioral questions
Get their questions first.
InterviewLegend is independent and not affiliated with or endorsed by any company it covers.