Problem database last updated: June 20, 2025

AAnduril logo

Anduril Coding Interview Questions

28 problems · 2 Easy, 20 Medium, 6 Hard · Ranked #68 of 458

Difficulty breakdown

2 Easy

7% · avg 23%

20 Medium

71% · avg 59%

6 Hard

21% · avg 18%

Top topics

array
60.7%
depth-first-search
25%2.7x
breadth-first-search
25%3x
matrix
25%2.8x
sorting
21.4%1.5x
string
21.4%

Interview profile

Based on 28 reported problems, Anduril interviews are in line with industry averages - 21% Hard vs 18% overall. The majority (71%) of questions are Medium difficulty, which is typical for companies that want to see solid fundamentals without excessive trick questions.

Compared to the industry average, Anduril puts unusual emphasis on topological-sort (7.1% of problems, 6.1x the industry average), breadth-first-search (25% of problems, 3x the industry average), matrix (25% of problems, 2.8x the industry average). If you're short on time, these are the categories to double down on.

The most common topics are array (60.7%), depth-first-search (25%), breadth-first-search (25%), matrix (25%). Problems below are sorted by frequency, the ones at the top are asked most often.

All 28 problems

Number of Islands

Solve

Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0's (water), return the number of islands.

MediumVery Likely
arraydepth-first-searchbreadth-first-search

Video Stitching

Solve

You are given a series of video clips from a sporting event that lasted time seconds. These video clips can be overlapping with each other and have varying leng...

MediumVery Likely
arraydynamic-programminggreedy

Maximum Number of Visible Points

Solve

You are given an array points, an integer angle, and your location, where location = [posx, posy] and points[i] = [xi, yi] both denote integral coordinates on t...

HardVery Likely
arraymathgeometry

Group Anagrams

Solve

Given an array of strings strs, group the anagrams together. You can return the answer in any order.

MediumVery Likely
arrayhash-tablestring

Course Schedule

Solve

There are a total of numCourses courses you have to take, labeled from 0 to numCourses - 1. You are given an array prerequisites where prerequisites[i] = [ai, b...

MediumVery Likely
depth-first-searchbreadth-first-searchgraph

Heaters

Solve

Winter is coming! During the contest, your first job is to design a standard heater with a fixed warm radius to warm all the houses.

MediumVery Likely
arraytwo-pointersbinary-search

Daily Temperatures

Solve

Given an array of integers temperatures represents the daily temperatures, return an array answer such that answer[i] is the number of days you have to wait aft...

MediumVery Likely
arraystackmonotonic-stack

Find Median from Data Stream

Solve

The median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value, and the median is the mean of the two midd...

HardVery Likely
two-pointersdesignsorting

Course Schedule II

Solve

There are a total of numCourses courses you have to take, labeled from 0 to numCourses - 1. You are given an array prerequisites where prerequisites[i] = [ai, b...

MediumVery Likely
depth-first-searchbreadth-first-searchgraph

Search Suggestions System

Solve

You are given an array of strings products and a string searchWord.

MediumLikely
arraystringbinary-search

Merge Intervals

Solve

Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overlapping intervals that cove...

MediumLikely
arraysorting

Making A Large Island

Solve

You are given an n x n binary matrix grid. You are allowed to change at most one 0 to be 1.

HardLikely
arraydepth-first-searchbreadth-first-search

Flip Equivalent Binary Trees

Solve

For a binary tree T, we can define a flip operation as follows: choose any node, and swap the left and right child subtrees.

MediumLikely
treedepth-first-searchbinary-tree

Flatten Binary Tree to Linked List

Solve

Given the root of a binary tree, flatten the tree into a "linked list":

MediumLikely
linked-liststacktree

Basic Calculator II

Solve

Given a string s which represents an expression, evaluate this expression and return its value.

MediumLikely
mathstringstack

Merge k Sorted Lists

Solve

You are given an array of k linked-lists lists, each linked-list is sorted in ascending order.

HardLikely
linked-listdivide-and-conquerheap-priority-queue

Race Car

Solve

Your car starts at position 0 and speed +1 on an infinite number line. Your car can go into negative positions. Your car drives automatically according to a seq...

HardLikely
dynamic-programming

Valid Parentheses

Solve

Given a string s containing just the characters '(', ')', '{', '}', '[' and ']', determine if the input string is valid.

EasyLikely
stringstack

Search in Rotated Sorted Array

Solve

There is an integer array nums sorted in ascending order (with distinct values).

MediumLikely
arraybinary-search

Move Zeroes

Solve

Given an integer array nums, move all 0's to the end of it while maintaining the relative order of the non-zero elements.

EasyLikely
arraytwo-pointers

Time Based Key-Value Store

Solve

Design a time-based key-value data structure that can store multiple values for the same key at different time stamps and retrieve the key's value at a certain...

MediumLikely
hash-tablestringbinary-search

Rotting Oranges

Solve

You are given an m x n grid where each cell can have one of three values:

MediumLikely
arraybreadth-first-searchmatrix

Find the Duplicate Number

Solve

Given an array of integers nums containing n + 1 integers where each integer is in the range [1, n] inclusive.

MediumLikely
arraytwo-pointersbinary-search

Game of Life

Solve

According to Wikipedia's article: "The Game of Life, also known simply as Life, is a cellular automaton devised by the British mathematician John Horton Conway...

MediumLikely
arraymatrixsimulation

Minesweeper

Solve

Let's play the minesweeper game (Wikipedia, online game)!

MediumLikely
arraydepth-first-searchbreadth-first-search

Snakes and Ladders

Solve

You are given an n x n integer matrix board where the cells are labeled from 1 to n2 in a Boustrophedon style starting from the bottom left of the board (i.e. b...

MediumLikely
arraybreadth-first-searchmatrix

Basic Calculator

Solve

Given a string s representing a valid expression, implement a basic calculator to evaluate it, and return the result of the evaluation.

HardLikely
mathstringstack

Spiral Matrix

Solve

Given an m x n matrix, return all elements of the matrix in spiral order.

MediumLikely
arraymatrixsimulation

How often are these problems asked?

Frequency scores are based on crowdsourced interview reports. A higher score means the problem has been reported more often in recent Anduril interviews.

Very Likely

75-100%

Likely

50-74%

Sometimes

25-49%

Rare

0-24%

Preparing for your Anduril coding interview

Anduril interviews focus heavily on array, depth-first-search, breadth-first-search problems. If you're short on time, these are the categories to prioritize. The problems on this page are sorted by frequency, so start from the top and work your way down.

Beyond solving problems, practice explaining your approach. Anduril interviewers care about your thought process - how you break down a problem, consider edge cases, and evaluate tradeoffs between solutions. A clean O(n) solution you can explain clearly beats an O(log n) solution you can't articulate.

Looking for more companies? Browse all 458 companies in our directory, or sharpen your fundamentals with our free data structure visualizers and AI-powered DSA tutor.

Frequently Asked Questions

What coding problems does Anduril ask in interviews?add

Anduril has been reported to ask 28 distinct coding problems. The most common topics are array, depth-first-search, breadth-first-search. 2 are Easy difficulty, 20 are Medium, and 6 are Hard. Problems are sorted by frequency - the ones at the top are asked most often.

How hard are Anduril coding interviews?add

Based on 28 reported problems, Anduril interviews are in line with industry averages - 21% Hard vs 18% overall. 71% of questions are Medium difficulty. Focus on the high-frequency Medium problems first, then work through the Hard ones.

How should I prepare for a Anduril coding interview?add

Start with the highest-frequency problems listed on this page. Focus on the core topics: array, depth-first-search, breadth-first-search. Practice solving them under time pressure and explaining your approach out loud. Mock interviews with AI can simulate the real experience.

Other companies to explore

Ready to ace your Anduril interview?

Simulate a real Anduril coding interview with an AI interviewer. Get a scorecard with specific feedback on your problem-solving, code quality, and communication.

Simulate a Anduril interview with AIarrow_forward